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

Re: Nagios Background Theme Change

Post 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.
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 »

That is odd that it wasn't there from before
run the following

Code: Select all

make install-daemoninit
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 »

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.

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 »

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
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 »

isn't there any way where I can erase all nagios files? and start from scratch
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 »

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
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've done that, can I now follow the link you sent me to install nagios again from scratch????
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 »

sampan1 wrote:I've done that, can I now follow the link you sent me to install nagios again from scratch????
thanks
Yes
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 »

thank you for your help, one last question do u know how to implement the arana HD theme for nagios web interface
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 »

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
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Locked