Page 2 of 3

Re: Nagios Background Theme Change

Posted: Tue Nov 20, 2018 9:07 am
by sampan1
the make install worked, however...

Code: Select all

[root@localhost ~]# service nagios restart
Redirecting to /bin/systemctl restart nagios.service
Failed to restart nagios.service: Unit not found.

Re: Nagios Background Theme Change

Posted: Tue Nov 20, 2018 9:29 am
by scottwilkerson
That is odd that it wasn't there from before
run the following

Code: Select all

make install-daemoninit

Re: Nagios Background Theme Change

Posted: Tue Nov 20, 2018 9:31 am
by sampan1
im using centos 7 and I don't think make works also, I got this error

Code: Select all

[root@localhost ~]# /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg

Nagios Core 4.4.2
Copyright (c) 2009-present Nagios Core Development Team and Community Contributors
Copyright (c) 1999-2009 Ethan Galstad
Last Modified: 2018-08-16
License: GPL

Website: https://www.nagios.org
Reading configuration data...
Error: Cannot open main configuration file '/usr/local/nagios/etc/nagios.cfg' for reading!
[root@localhost ~]# make install-daemoninit
make: *** No rule to make target `install-daemoninit'.  Stop.


Re: Nagios Background Theme Change

Posted: Tue Nov 20, 2018 9:35 am
by scottwilkerson
I really have no idea how this was installed before and working,, all these files should be there

lets run

Code: Select all

make install-commandmode
make install-config
make install-webconf

Re: Nagios Background Theme Change

Posted: Tue Nov 20, 2018 9:37 am
by sampan1
isn't there any way where I can erase all nagios files? and start from scratch

Re: Nagios Background Theme Change

Posted: Tue Nov 20, 2018 9:39 am
by scottwilkerson
sampan1 wrote:isn't there any way where I can erase all nagios files? and start from scratch
Sure, just remove /usr/local/nagios

Code: Select all

rm -rf /usr/local/nagios
and follow the guide here for CentOS 7
https://support.nagios.com/kb/article/n ... tml#CentOS

Re: Nagios Background Theme Change

Posted: Tue Nov 20, 2018 9:41 am
by sampan1
I've done that, can I now follow the link you sent me to install nagios again from scratch????
thanks

Re: Nagios Background Theme Change

Posted: Tue Nov 20, 2018 9:42 am
by scottwilkerson
sampan1 wrote:I've done that, can I now follow the link you sent me to install nagios again from scratch????
thanks
Yes

Re: Nagios Background Theme Change

Posted: Tue Nov 20, 2018 9:47 am
by sampan1
thank you for your help, one last question do u know how to implement the arana HD theme for nagios web interface

Re: Nagios Background Theme Change

Posted: Tue Nov 20, 2018 10:37 am
by scottwilkerson
It looks like this was released on 2010-08-23 (over 8 years ago) and is for nagios 3.x not the current 4.x

Sorry, I do not know if this will currently work with Nagios 4.x