I am trying to run Nagios on my Mac OS X 10.11, the core compiled fine but I can't start the daemon. The nagio.qh file doesn't exist and I can't seem to find where I can get it.
Any help would be great!
$ sudo /usr/local/nagios/bin/nagios /usr/local/nagios/etc/nagios.cfg
Password:
Nagios Core 4.1.1
Copyright (c) 2009-present Nagios Core Development Team and Community Contributors
Copyright (c) 1999-2009 Ethan Galstad
Last Modified: 08-19-2015
License: GPL
Website: https://www.nagios.org
Nagios 4.1.1 starting... (PID=20407)
Local time is Thu Nov 05 18:37:44 CST 2015
qh: Failed to init socket '/usr/local/nagios/var/rw/nagios.qh'. bind() failed: No such file or directory
Error: Failed to initialize query handler. Aborting
Nagios Query Handler error on Mac OSX
Re: Nagios Query Handler error on Mac OSX
Try adding -
to the end of your nagios.cfg. This might work for you, let us know.
Code: Select all
query_socket=/usr/local/nagios/var/rw/query.sh
Former Nagios Employee