A patch to let nagios check the cfg
Status: Alpha
Brought to you by:
kemuri
A made a little patch to let Nagios verify the cfg
(written by Nagat)
Edit head.inc and add this:
| <a href="verify_cfg.php">Verify cfg</a>
to line 53 (below the line containg cgicfg.php and
abowe ]<br>)
put the attached file in the same directory as the
other php-files.
You have to set nagios binaries executable by the user
your webserver is running.
This is A quickfix but rather useful (for me anyway!)
It just runs nagios (with system() ) against the
configfiles.
Hope anyone have use for it, and it's free to put into
the archive if you like.
phpfile to check nagios cfgfiles.