The Random Ramblings

lost? dazed? confused? dont come here then as this aint goona help!!

Nagios 3

So here I am again after a little while building a Nagios server.

Its amazing how painful you forget the initial configuration of the hosts and groups are. Lots of typing and remembering.

Any way, base information in there so I start trying to get all the alreting working and then two problems hit me, which I always come across on updates and new installs, so for all of you out there and more importantly so I can find it quickly again next time here is a little summary of two problems that might happen.

Sorry, but Nagios is currently not checking for external commands, so your command will not be committed!

All you need to do to fix this one is open


and change




next is the error

Error: Could not stat() command file ‘/var/lib/nagios3/rw/nagios.cmd’!

little more difficult but just these four commands

/etc/init.d/nagios3 stop

dpkg-statoverride - -update - -add nagios www-data 2710 /var/lib/nagios3/rw

dpkg-statoverride - -update - -add nagios nagios 751 /var/lib/nagios3

/etc/init.d/nagios3 start

and there you go all running correctly.

Now to finish the configuration....

Find Me
Javascript learning