Nagios 'share/side.html' Replacement
------------------------------------
Notes:
My company's installation of Nagios monitors over 500 hosts and 2500
services. As anyone with a large Nagios deployment knows, it becomes a
chore to try and locate a specific hostgroup or host in the web interface.
I created this replacement for the side frame to display hostgroups in a
pleasing fashion, and incorporated a simple search box if you know the
host's name.
I also created a script that allows users to toggle themselves between
authorized_for_all_(services|hosts). This allows all users to see blocking
outages when they want to, but keeps their display from being cluttered
when they don't.
Installation:
Assuming your Nagios is installed in /usr/local/nagios:
1) Open side.pl in you favorite editor to configure it.
2) Copy side.pl to /usr/local/nagios/sbin.
3) Copy side.html & index.html to /usr/local/nagios/share.
4) Copy *.gif to /usr/local/nagios/share/images.
5) Copy search.pl to /usr/local/nagios/sbin.
6) If your Nagios is installed somewhere other than /usr/local/nagios.
*) Open toggle.pl and update the path on line 27.
7) Copy toggle.pl to /usr/local/nagios/sbin.
8) Make /usr/local/nagios/etc/cgi.cfg the same as the permissions for
/usr/local/nagios/var/rw/nagios.cmd.
More specifically, allow the webserver user read/write access to it.
Credits:
Chet Luther