*****Make Nagios Pretty ( Nuvola Style )
First Backup /usr/local/nagios/share/*..html and all stylesheets directory.
# tar -cvvf defaultweb.tar /usr/local/nagios/share/
# cd /usr/local/nagios/share
# wget http://www.xoroz.com/files/nagiosstyle.zip
# unzip nagiosstyle.zip
Set the permissions
# chown nagios:nagios *.*
# chown nagios:nagios -R side
# chown nagios:nagios -R stylesheets
If needed, Edit the config.js with your correct cgi-bin
# vim config.jsĀ (default “/nagios/cgi-bin/”)
# /etc/init.d/apache2 restart
*******BUG**********
Apache ; error.log reports this error:
[error] [client 10.10.10.156] File does not exist: /usr/local/nagios/share/images/border_small.gif, referer:
http://10.10.10.155/nagios/stylesheets/status.css
So the package is missing the border_small.gif , for now just comment line :
#vim /usr/local/nagios/share/stylesheets/status.css
delete line 96
I thought it was a couple of small things, but I just proved myself wrong, by noticing that the same things don't work with my 2.10 install. Anyway, what I found so far is, that the menu options "Unhandled" for Host and Service problems do not exist within nuvola (as they didn't in Nagios 2.x). But you can easily add them yourself, by editing share/side/dtree_data.js and replace Line 37 to 40 with this: monitoring.add(11,0,'Problems','','','','side/icons/folder.gif','side/icons/folder_open.gif'); monitoring.add(12,11,'Service',cgipath + 'status.cgi?host=all&servicestatustypes=28','','','side/icons/error.gif','side/icons/error.gif'); monitoring.add(13,12,'Unhandled',cgipath + 'status.cgi?host=all&type=detail&servicestatustypes=16&hoststatustypes=3&serviceprops=42&servicestatustypes=28','','','side/icons/error.gif'); monitoring.add(14,11,'Host',cgipath + 'status.cgi?hostgroup=all&style=hostdetail&hoststatustypes=12','','','side/icons/error.gif','side/icons/error.gif'); monitoring.add(15,14,'Unhandled',cgipath + 'status.cgi?hostgroup=all&style=hostdetail&hoststatustypes=12&hostprops=42','','','side/icons/error.gif'); monitoring.add(16,11,'Network Outages',cgipath + 'outages.cgi','','','side/icons/error.gif'); *******More cool cmds Get an overview of all hosts (new cmd with nagios 2.11)
# /usr/local/nagios/bin/nagiostats /usr/local/nagios/etc/nagios.cfg -v NUMHOSTS
********Autostart Daemon only with Debian
# /usr/sbin/update-rc.d mysql defaults
*********Install FIREFOX ADD-ON NAGIOS CHECKER
https://addons.mozilla.org/en-US/firefox/addon/3607
************Troubleshooting problems…
Check my older post
Hi,
I love this theme. Now, I’m installing Nagios now and I have this cool 32inch LCD screen. If I choose Hostgroups or Servicegroups I only get 3 columns, which makes the hosts scroll off the screen while I have plenty of space to the left and the right of the 3 colums. How can I modify the theme so it’ll allow me to display 4 or 5 columns?
Thanks in advance,
Michael