Search Exchange
Search All Sites
Nagios Live Webinars
Let our experts show you how Nagios can help your organization.Login
Directory Tree
Directory
maticue
We had to change only one thing:
Before:
free=${freeunit:0:-2}
Returns the following error:
"line 101: -2: substring expression Molina:
Before:
free=${freeunit:0:-2}
Returns the following error:
"line 101: -2: substring expression Molina:
bymaticue, January 7, 2015
I dont know what to do at manager.conf to accept connections from the nrpe agent on the localhost.
Could you help me ?
Could you help me ?
Owner's reply
You can try something like this:
[general]
enabled = yes
port = 5038
bindaddr = 0.0.0.0
webenabled = no
[username]
secret = password
deny=0.0.0.0/0.0.0.0
permit=192.168.1.0/255.255.255.0 #the network address where the nagios server is
read = system,call,log,verbose,command,agent,user,originate
bymaticue, October 30, 2014
macling66, check directory permissions. checkresults should have write access for www-data user.
# ls -ld /var/lib/nagios3/spool/
drwxr-x--- 3 nagios nagios 4096 Jun 28 2013 /var/lib/nagios3/spool/
# ls -ld /var/lib/nagios3/spool/checkresults/
drwxr-x--- 2 nagios nagios 12288 Oct 30 12:34 /var/lib/nagios3/spool/checkresults/
# chown nagios.www-data /var/lib/nagios3/spool/checkresults/
# chmod g+w /var/lib/nagios3/spool/checkresults/
# ls -ld /var/lib/nagios3/spool/checkresults/
drwxrwx--- 2 nagios www-data 12288 Oct 30 12:34 /var/lib/nagios3/spool/checkresults/
# ls -ld /var/lib/nagios3/spool/
drwxr-x--- 3 nagios nagios 4096 Jun 28 2013 /var/lib/nagios3/spool/
# ls -ld /var/lib/nagios3/spool/checkresults/
drwxr-x--- 2 nagios nagios 12288 Oct 30 12:34 /var/lib/nagios3/spool/checkresults/
# chown nagios.www-data /var/lib/nagios3/spool/checkresults/
# chmod g+w /var/lib/nagios3/spool/checkresults/
# ls -ld /var/lib/nagios3/spool/checkresults/
drwxrwx--- 2 nagios www-data 12288 Oct 30 12:34 /var/lib/nagios3/spool/checkresults/