Nagios Background Theme Change

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
sampan1
Posts: 17
Joined: Mon Nov 12, 2018 6:19 am

Nagios Background Theme Change

Post by sampan1 »

I'm currently new to Nagios and I have updated the background for the WEB GUI and I would like to revert back to the original one. Can anyone help me change it back to the original one?

Thanks
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Nagios Background Theme Change

Post by scottwilkerson »

Can you be more specific what changes you made?
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
sampan1
Posts: 17
Joined: Mon Nov 12, 2018 6:19 am

Re: Nagios Background Theme Change

Post by sampan1 »

https://exchange.nagios.org/directory/A ... -and-Skins

^^ I used one of the skins from here. The configurations I made were simple.
---- wget <download URL for the skin>
---- unzip <filename>
---- cp <filename> -d /usr/local/nagios/share
---- service nagios start

I have also attached the screenshot of my web GUI
Attachments
Capture.PNG
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Nagios Background Theme Change

Post by scottwilkerson »

Being you overwrote your current /usr/local/nagios/share with the ones in the theme the best way to get them back would be to re-compile and install core.

Do you know what version of Core you are using?
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
sampan1
Posts: 17
Joined: Mon Nov 12, 2018 6:19 am

Re: Nagios Background Theme Change

Post by sampan1 »

I'm using nagios core 4.4.2
how can I uninstall nagios and start again?
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Nagios Background Theme Change

Post by scottwilkerson »

We have the process here, no need to uninstall
https://support.nagios.com/kb/article/n ... ce-96.html
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
sampan1
Posts: 17
Joined: Mon Nov 12, 2018 6:19 am

Re: Nagios Background Theme Change

Post by sampan1 »

what will happen if I follow the steps for centos (what im using).
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Nagios Background Theme Change

Post by scottwilkerson »

You basically just need to run the following

Code: Select all

cd /tmp
wget -O nagioscore.tar.gz https://github.com/NagiosEnterprises/nagioscore/archive/nagios-4.4.2.tar.gz
tar xzf nagioscore.tar.gz
cd /tmp/nagioscore-nagios-4.4.2/
./configure
make all
make install
service nagios restart
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
sampan1
Posts: 17
Joined: Mon Nov 12, 2018 6:19 am

Re: Nagios Background Theme Change

Post by sampan1 »

when I do make install, I get an error. Shown below

Code: Select all


cd ./base && make install
make[1]: Entering directory `/tmp/nagioscore-nagios-4.4.2/base'
make install-basic
make[2]: Entering directory `/tmp/nagioscore-nagios-4.4.2/base'
/usr/bin/install -c -m 775 -o nagios -g nagios -d /usr/local/nagios/bin
/usr/bin/install -c -m 774 -o nagios -g nagios nagios /usr/local/nagios/bin
/usr/bin/install -c -m 774 -o nagios -g nagios nagiostats /usr/local/nagios/bin
make[2]: Leaving directory `/tmp/nagioscore-nagios-4.4.2/base'
make strip-post-install
make[2]: Entering directory `/tmp/nagioscore-nagios-4.4.2/base'
/usr/bin/strip /usr/local/nagios/bin/nagios
/usr/bin/strip /usr/local/nagios/bin/nagiostats
make[2]: Leaving directory `/tmp/nagioscore-nagios-4.4.2/base'
make[1]: Leaving directory `/tmp/nagioscore-nagios-4.4.2/base'
cd ./cgi && make install
make[1]: Entering directory `/tmp/nagioscore-nagios-4.4.2/cgi'
make install-basic
make[2]: Entering directory `/tmp/nagioscore-nagios-4.4.2/cgi'
/usr/bin/install -c -m 775 -o nagios -g nagios -d /usr/local/nagios/sbin
for file in *.cgi; do \
        /usr/bin/install -c -m 775 -o nagios -g nagios $file /usr/local/nagios/sbin; \
done
make[2]: Leaving directory `/tmp/nagioscore-nagios-4.4.2/cgi'
make strip-post-install
make[2]: Entering directory `/tmp/nagioscore-nagios-4.4.2/cgi'
for file in *.cgi; do \
        /usr/bin/strip /usr/local/nagios/sbin/$file; \
done
make[2]: Leaving directory `/tmp/nagioscore-nagios-4.4.2/cgi'
make[1]: Leaving directory `/tmp/nagioscore-nagios-4.4.2/cgi'
cd ./html && make install
make[1]: Entering directory `/tmp/nagioscore-nagios-4.4.2/html'
/usr/bin/install -c -m 775 -o nagios -g nagios -d /usr/local/nagios/share
/usr/bin/install: cannot create directory ‘/usr/local/nagios/share’: File exists
make[1]: *** [install] Error 1
make[1]: Leaving directory `/tmp/nagioscore-nagios-4.4.2/html'
make: *** [install] Error 2


scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Nagios Background Theme Change

Post by scottwilkerson »

Make sure you are root when running the commands,

lets run this

Code: Select all

rm -f /usr/local/nagios/share
make install
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Locked