Search Exchange
Search All Sites
Nagios Live Webinars
Let our experts show you how Nagios can help your organization.Login
Directory Tree
Directory
Palin_linux
Great Theme! To install on Ubuntu 10.04 LTS on nagios3 installed through apt-get. there a few thing you need to do.
All commands are run as root. you can get to the root shell safely by doing
"sudo -i" put in your password
1. BACKUP your old htddcs and stylesheet
Code - "tar zxvf htdocsold.tar.gz /usr/share/nagios3/htdocs "
and
Code "tar zxvf stylesheetold.tar.gz /etc/nagios3/stylesheet"
2. Create folder to work for mv to that folder then Code - "wget http://www.be-root.com/downloads/nagios/vautour/vautour_style.zip "
3. Unzip the file Code "unzip vautour_style.zip"
you may to install unzip "apt-get install unzip"
4. Move all file except 'stylesheet' folder to /usr/share/nagios3/htdocs
Code - "mv images index.html index.php js menu.html sidebar.html top.html /usr/share/nagios3/htdocs/ "
It will ask to overwrite some file choose A for all (That why we made a backup!)
5. Move the stylesheet folder to /etc/nagios3/ Code "mv stylesheet /etc/nagios3/"
If you hit refresh on Nagios you will see the new theme, but the menu will not work right. so we have one more step/
6. We need to edit the apache2.cfg for nagios Code - " nano or vim /etc/nagios3/apache2.conf "
We need to comment out most of nagios3 and uncomment the nagios1 reference's
Leave the 'DirectoryMatch' alone. We do not need to change anything.
so it should like this :
#ScriptAlias /cgi-bin/nagios3 /usr/lib/cgi-bin/nagios3
#ScriptAlias /nagios3/cgi-bin /usr/lib/cgi-bin/nagios3
# nagios 1.x:
ScriptAlias /cgi-bin/nagios /usr/lib/cgi-bin/nagios3
ScriptAlias /nagios/cgi-bin /usr/lib/cgi-bin/nagios3
# nagios 2.x:
#ScriptAlias /cgi-bin/nagios2 /usr/lib/cgi-bin/nagios3
#ScriptAlias /nagios2/cgi-bin /usr/lib/cgi-bin/nagios3
# Where the stylesheets (config files) reside
#Alias /nagios3/stylesheets /etc/nagios3/stylesheets
# nagios 1.x:
Alias /nagios/stylesheets /etc/nagios3/stylesheets
# nagios 2.x:
#Alias /nagios2/stylesheets /etc/nagios3/stylesheets
# Where the HTML pages live
#Alias /nagios3 /usr/share/nagios3/htdocs
# nagios 2.x:
#Alias /nagios2 /usr/share/nagios3/htdocs
# nagios 1.x:
Alias /nagios /usr/share/nagios3/htdocs
restart apache and your done ENJOY!! :)
All commands are run as root. you can get to the root shell safely by doing
"sudo -i" put in your password
1. BACKUP your old htddcs and stylesheet
Code - "tar zxvf htdocsold.tar.gz /usr/share/nagios3/htdocs "
and
Code "tar zxvf stylesheetold.tar.gz /etc/nagios3/stylesheet"
2. Create folder to work for mv to that folder then Code - "wget http://www.be-root.com/downloads/nagios/vautour/vautour_style.zip "
3. Unzip the file Code "unzip vautour_style.zip"
you may to install unzip "apt-get install unzip"
4. Move all file except 'stylesheet' folder to /usr/share/nagios3/htdocs
Code - "mv images index.html index.php js menu.html sidebar.html top.html /usr/share/nagios3/htdocs/ "
It will ask to overwrite some file choose A for all (That why we made a backup!)
5. Move the stylesheet folder to /etc/nagios3/ Code "mv stylesheet /etc/nagios3/"
If you hit refresh on Nagios you will see the new theme, but the menu will not work right. so we have one more step/
6. We need to edit the apache2.cfg for nagios Code - " nano or vim /etc/nagios3/apache2.conf "
We need to comment out most of nagios3 and uncomment the nagios1 reference's
Leave the 'DirectoryMatch' alone. We do not need to change anything.
so it should like this :
#ScriptAlias /cgi-bin/nagios3 /usr/lib/cgi-bin/nagios3
#ScriptAlias /nagios3/cgi-bin /usr/lib/cgi-bin/nagios3
# nagios 1.x:
ScriptAlias /cgi-bin/nagios /usr/lib/cgi-bin/nagios3
ScriptAlias /nagios/cgi-bin /usr/lib/cgi-bin/nagios3
# nagios 2.x:
#ScriptAlias /cgi-bin/nagios2 /usr/lib/cgi-bin/nagios3
#ScriptAlias /nagios2/cgi-bin /usr/lib/cgi-bin/nagios3
# Where the stylesheets (config files) reside
#Alias /nagios3/stylesheets /etc/nagios3/stylesheets
# nagios 1.x:
Alias /nagios/stylesheets /etc/nagios3/stylesheets
# nagios 2.x:
#Alias /nagios2/stylesheets /etc/nagios3/stylesheets
# Where the HTML pages live
#Alias /nagios3 /usr/share/nagios3/htdocs
# nagios 2.x:
#Alias /nagios2 /usr/share/nagios3/htdocs
# nagios 1.x:
Alias /nagios /usr/share/nagios3/htdocs
restart apache and your done ENJOY!! :)