Plugin that will test nagios.cfg

chiel chiel at gmx.net
Thu Jun 21 21:36:34 CEST 2007


I'm looking for a plugin that will check if the nagios.cfg is ok.
So besecauly run this command: "/usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg". Is there a plugin for this?

I want this because I reload the nagios config every 15 minutes through a cronjob. And I want to be notified if there is a error in the config.
The reason of using a cronjob is that custom programs populate/change my .cfg files

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20070621/515668ab/attachment.html>
-------------- next part --------------
-------------------------------------------------------------------------
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/
-------------- next part --------------
_______________________________________________
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