*****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
Apache ; error.log reports this error:
[error] [client] File does not exist: /usr/local/nagios/share/images/border_small.gif, referer:
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(12,11,'Service',cgipath +
        monitoring.add(13,12,'Unhandled',cgipath +
        monitoring.add(14,11,'Host',cgipath +
        monitoring.add(15,14,'Unhandled',cgipath +
        monitoring.add(16,11,'Network Outages',cgipath +
*******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
************Troubleshooting problems…
Check my older post

Tags: , , , , , ,

1 thought on “Nagios Nuvola Style

  1. 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,

Leave a Reply

Your email address will not be published. Required fields are marked *