[omd-users] Skript to manually check nagios configuration
Timo Scheller
t.scheller at its.uni-saarland.de
Thu Nov 4 13:44:47 CET 2010
Dear list,
we had the ability to check the configuration of each omd-site
from the site itself, bevor doing a reload or restart of nagios itself.
So I write a simple, but usefull skript:
cat n-verify
#!/bin/bash
# Make manually an verfiy of your actual nagios omd-site configuration
#
# Author: Timo Scheller
# Date: November 2010
######################################################################
# Define your actual omd-site name
SITE=`omd status |cut -d ":" -f 1`
# Check your configuration
nagios -v /omd/sites/$SITE/etc/nagios/nagios.cfg
Place the skript there:
/omd/versions/default/bin
Then it can be used in every omd-site.
By the way, thx a lot for the great work of omd!
We used it with SLES11 SP1 and it works great, out of the box!
--
Best regards,
Timo Scheller
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 6378 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://lists.mathias-kettner.de/pipermail/omd-users/attachments/20101104/1f1517b8/attachment.bin>
More information about the omd-users
mailing list