Nagios Background Theme Change
Nagios Background Theme Change
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
Thanks
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Nagios Background Theme Change
Can you be more specific what changes you made?
Re: Nagios Background Theme Change
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
^^ 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
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Nagios Background Theme Change
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?
Do you know what version of Core you are using?
Re: Nagios Background Theme Change
I'm using nagios core 4.4.2
how can I uninstall nagios and start again?
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
We have the process here, no need to uninstall
https://support.nagios.com/kb/article/n ... ce-96.html
https://support.nagios.com/kb/article/n ... ce-96.html
Re: Nagios Background Theme Change
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
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 restartRe: Nagios Background Theme Change
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
Make sure you are root when running the commands,
lets run this
lets run this
Code: Select all
rm -f /usr/local/nagios/share
make install