Skip to content

Tag: nagios

Better nagios SMS and E-mail messages

Just for my references. I made changes to it before, but I now added the comments to them (for custom notifications and acknowledgements): Read More »

Useful extra Nagios commands

Here are some useful extra nagios commands I often use: define command{ command_name notify-host-by-sms command_line /usr/local/sbin/ -n $CONTACTPAGER$ -m "$HOSTNAME$: $HOSTSTATE$" } Read More »

Allowing apache to set Nagios cmd file

On debian, to prevent: Error: Could not stat() command file ‘/var/lib/nagios3/rw/nagios.cmd’! Read More »

Checking 3ware raid controllers over ssh with nagios

First check this to see how you enable a host to be checked with nagios over SSH. Read More »

Configuring nagios checks over SSH

I had to do a lot of fiddling before I got nagios over ssh working. I used this article as source, mostly, even though I did it differently. Read More »

Configuring Nagios to check a HTTP host

Nagios is an elaborate piece of software to monitor hosts and services. I will explain a bit how you can configure nagios to monitor an HTTP service. I'm assuming your nagios setup already has the default config files generic-host_nagios2.cfg and generic-service_nagios2.cfg, which tell nagios how to monitor hosts and services. Read More »