Plugin that will test nagios.cfg

Thomas Guyot-Sionnest dermoth at aei.ca
Fri Jun 22 12:54:26 CEST 2007


On 22/06/07 05:14 AM, Hari Sekhon wrote:
> On my installation I noticed that it does crash when you do
> /etc/init.d/nagios restart, but not if you do /etc/init.d/nagios reload
> which I think is what you should be doing.

One everyone uses init scripts. Nagios can also be restarted via
signals, web interface and directly trough the command pipe. Any of
these methods won't do any sanity checking.

The init script does pretty much what I put in my bash example (and even
more sanity checking)... BTW it checks the config on restarts too, so
maybe you're running an old version...

Thomas

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list