How to Install/change Nagios Theme?

Nagios is the most popular opensource monitoring system for IT infrastructure that can monitor and alert servers, services, network devices and applications.
Nagios default web UI is very simple, but customizable. Fortunately there are many free themes available at “Nagios Exchange” , we can download the themes and integrate in our Nagios installation. In this article we will explain how to install Nagios theme .

How to Install/Change Nagios theme?

Please follow below steps to install or change the Nagios theme.

1. Login to Nagios Server using ssh.
2. Download the theme from here .

There are multiple themes available here. Please download your favorite theme

I used the popular “Arana” theme

1 2 3 4 5   cd /tmp wget https://nchc.dl.sourceforge.net/project/arana-nagios/arana_style-1.0for-Nagios3x-ENG.zip unzip arana_style1.0forNagios3xENG.zip  

3. Change directory to nagios “share” folder .

On Centos and Ubuntu you will find it at “/usr/local/nagios/share . Copy the contents of the “arana_style” folder to “/usr/local/nagios/share/” folder.
NB :Please take backup of the /usr/local/nagios/share/ folder before installing new theme. We can revert the changes if something breaks

 

1 2 3   cp rp /tmp/arana_style/* /usr/local/nagios/share/  

Done.Now you can refresh the Nagios web UI , you will see that GUI updated with new beautiful theme

 

If you cant find the folder “/usr/local/nagios/share/” on your machine , check if the folder “/usr/share/nagios/” exists. If it is there follow the below steps to install new theme

Copy the contents of the theme folder to “html” folder

1 2 3 4 5   cd /usr/share/nagios/ mv html html_original mv /tmp/arana_style /usr/share/nagios/html  

Now you can refresh the Nagios web UI , you will see that GUI updated with new beautiful theme. 

Below is the sample of the “arana style” theme installed in Nagios® Core™ 3.5.1 on a CentOS server.

After Installing new theme

change-nagios-theme_2

With Old/default theme

change-nagios-theme1

 

SUMMARY

In this article we explained how to install/change nagios theme, with Linux commands and screenshots. 

Please try it out. As always, feel free to drop us a note if you have any questions or feedback using our comment form below. Always happy to help ????

Author: , 0000-00-00