Skip to main content

Nagios

vimrc for nagios

I use nagios to monitor servers. It’s great. I just thought I would share a quick snippet that I just put in my vimrc. It sorts the servers listed in host_name lines so they are in alphabetical order. Put the following in your vimrc, move your cursor over a host_name line and hit F2 and it will sort the server list.

SMS Notifications for Nagios

I use Nagios for monitoring. Up to recently I used a regular modem to send sms text messages to various people when systems are going wrong. The way this works is by using smsclient which dials up to a TAP server. [TAP] (http://en.wikipedia.org/wiki/Telelocator_Alphanumeric_Protocol) is a fairly archaic way of sending messages. It’s been fairly reliable however it has two major drawbacks, sending takes a long time and it’s limited to 160 characters. As far as I can tell it will not do long text messages, which are really just multiple short message combined together in a special way.