The Missing Column

There’s a missing column in nagios monitoring system. Most of the times the reason of monitoring something is to get notified of an event and to take a proper action. It would be nice to have a column dedicated to the actions you can take in a given situation. So having that in mind i hacked the nagios status.cgi, in order to achieve this:
new column
I installed nagios 1.4.1 from source, to make your service page to look like the above you need to,

1. Go to the source directory, open the cgi/status.c file and apply this patch.
2. Compile. Run: make cgis
3. Copy the compiled file to nagios installation, i.e.: cp /usr/local/src/nagios-1.4/cgi/status.cgi /usr/local/nagios/sbin
4. Make your own service.php file that fits your needs ( here you have an example ) and put it in /usr/local/nagios/share

Remember to check file permissions.

Post a Comment
*Required
*Required (Never published)