Test autogenerated Nagios configuration from sitesummary collected info
Since version 0.0.51 of sitesummary , there is experimental code to
generate Nagios configuration based on the collected information. To
enable this, install nagios3 and nagios-plugins-standard, edit
/etc/default/nagios3 to include
'NAGIOSCFG=/etc/nagios3/sitesummary.cfg' and run the sitesummary cron
job. Running these commands as root normally does the trick.
aptitude install nagios3 nagios-plugins-standard
echo 'NAGIOSCFG="/etc/nagios3/sitesummary.cfg"' >> /etc/default/nagios3
sitesummary-client
/etc/cron.daily/sitesummary
/etc/init.d/nagios3 restart
The current version of the code run all Nagios checks locally, so it
only work on a single machine. The plan is to change this to use NRPE
to work with a network of machines.
The version in lenny-test should work if you want to give it a try. :)
At the moment, the sitesummary generated configuration is checking
slightly less than the Nagios configuration included in
debian-edu-config. The version in svn check slightly more, but I
hoped to have the NRPE stuff working before uploading that version.
Patches welcome, of course. :)
Happy hacking,
--
Petter Reinholdtsen
Reply to: