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
Post
by sampan1 » Tue Nov 20, 2018 9:07 am
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:
Post
by scottwilkerson » Tue Nov 20, 2018 9:29 am
That is odd that it wasn't there from before
run the following
sampan1
Posts: 17 Joined: Mon Nov 12, 2018 6:19 am
Post
by sampan1 » Tue Nov 20, 2018 9:31 am
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:
Post
by scottwilkerson » Tue Nov 20, 2018 9:35 am
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
sampan1
Posts: 17 Joined: Mon Nov 12, 2018 6:19 am
Post
by sampan1 » Tue Nov 20, 2018 9:37 am
isn't there any way where I can erase all nagios files? and start from scratch
sampan1
Posts: 17 Joined: Mon Nov 12, 2018 6:19 am
Post
by sampan1 » Tue Nov 20, 2018 9:41 am
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:
Post
by scottwilkerson » Tue Nov 20, 2018 9:42 am
sampan1 wrote: I've done that, can I now follow the link you sent me to install nagios again from scratch????
thanks
Yes
sampan1
Posts: 17 Joined: Mon Nov 12, 2018 6:19 am
Post
by sampan1 » Tue Nov 20, 2018 9:47 am
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:
Post
by scottwilkerson » Tue Nov 20, 2018 10:37 am
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