Kibana graphs are extremely useful for keeping track of server health! So why not use it to keep track of your Zimbra server? This article describes how to set up grok filters for parsing email relay (inbound, outbound, internal etc.) and spam rejection in the new and awesome postscreen which has really cleaned up spam […]
Category Archives: Linux
Python Script to clean out old elasticsearch indices
Below you will find a simple python script that can be used together with crontab or manually to clear out old daily elasticsearch indices. You just need to specify the index name and how many days back (from today) that you want to remove. Example use to delete syslog indices older than 90 days: python […]
How to get Linux NetworkManager to accept DNS servers from VPN
Linux NetworkManager is a great utility that usually “just works”, yesterday I did however notice that I was not able to access an internal network while using an OpenVPN connection through NetworkManager because the domain names were not resolved as they should (my normal DNS was used instead of the DNS that the openvpn server […]
How to get the MAC address of a remote host in linux
The oneliner below works as follows: First off, you must be on the same LAN subnet for this to work, otherwise getting the MAC is most likely impossible Ping the host to make sure the MAC is in the ARP table Get the MAC using arp and cut out surrounding noise Tested on Ubuntu 15.10 […]