On Tue, 21 Dec 2010 10:02:46 -0500, "Scott Reese"  wrote:  

I am
trying to use the latest Nagios 3.2.3 packages on a CentOS 5.5 64-bit
virtual machine. I started with an up to date CentOS 5.5 install, added
the rpmforge repo, and then installed the nagios, nagios-plugins, and
nagios-plugins-setuid packages.  

Apart from the 64 bit stuff I have an
identical setup and it works straight out of the box on Centos 5.5
32bit.

OK. I started to build my own config host by host but it runs
like a charm.

I wrote a small script to reload only after a succesful
verification:

#!/bin/sh

nagios -v
/etc/nagios/nagios.cfg

STATUS=$?

if [ $STATUS -eq 0 ]; then

 service
nagios reload

else

 echo "NAGIOS CONFIGURATION FAILURE!"

 echo "EXIT
STATUS: $STATUS"

fi

Hugo.

-- 
[email protected]
http://hugo.vanderkooij.org/
PGP/GPG? Use:
http://hugo.vanderkooij.org/0x58F19981.asc
 
_______________________________________________
users mailing list
[email protected]
http://lists.rpmforge.net/mailman/listinfo/users

Reply via email to