nagios problems 4.4.3

qh: Failed to init socket ‘/usr/local/nagios/var/rw/nagios.qh’

For this, I had to edit my (/etc/nagios/)nagios.cfg and

QUERY HANDLER INTERFACE
# This is the socket that is created for the Query Handler interface
#query_socket=/var/lib/nagios/rw/nagios.qh 
query_socket=/usr/local/nagios/var/rw/query.sh

Another problem occurred while trying to start nagios..

For this problem, this is the solution found

mkdir /usr/local/nagios/var/rw
chown nagios.nagios /usr/local/nagios/var/rw
service nagios restart

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.