Problems installing/testing Nagios on OSX Sierra

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.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Problems installing/testing Nagios on OSX Sierra

Post by scottwilkerson »

run the following and let us know the results:

Code: Select all

sudo su nagios -c "touch /usr/local/nagios/var/nagios.configtest"
Former Nagios employee
Creator:
ahumandesign.com
enneagrams.com
Aelonia
Posts: 12
Joined: Wed Aug 23, 2017 3:43 pm

Re: Problems installing/testing Nagios on OSX Sierra

Post by Aelonia »

Ran just fine - no output.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Problems installing/testing Nagios on OSX Sierra

Post by scottwilkerson »

scottwilkerson wrote:Lets do a quick test, edit /etc/rc.d/init.d/nagios

and change this line

Code: Select all

checkconfig="true"
to

Code: Select all

checkconfig="false"
Now lets try to start the service, I just want to make 100% sure the only problem is the configtest file
We've determined there is a bug in 4.3.4 relating to this on some systems and are working to isolate it and fix it in a future release. For now the only option will be to use the above workaround.
Former Nagios employee
Creator:
ahumandesign.com
enneagrams.com
Locked