<div>Hello</div><div><br></div><div>I am pretty new to nagios and i am trying to install this on a debian vps i have to monitor 2 other boxes i have.</div><div><br></div><div>Ive compiled and installed everything fine, i can see my nagios webinterface, but i have the following problem:</div>
<div><br></div><div>CRITICAL - Could not interpret output from ping command </div><div><br></div><div>I have an error that my host is down this is because the ping command is not working. Here is some information:</div><div>
<br></div><div>If i do via shell this:</div><div><br></div><div>/usr/local/nagios/libexec/check_ping -H 127.0.0.1 -w 100.0,20% -c 500.0,60% -p 5</div><div><br></div><div>I get the mentioned error. Even as root (so i believe its not a problem of the nagios user or group).</div>
<div><br></div><div>Ive made some google research and found out that sometimes i needed to give execution permissions to /bin/ping which i did, same results.</div><div><br></div><div>So this is what i have in cgi.cfg:</div>
<div><br></div><div>/bin/ping -n -U -c 5 $HOSTADDRESS$</div><div><br></div><div>And this is what i have in commands.cfg:</div><div><br></div><div>/usr/local/nagios/libexec/check_ping -H $HOSTADDRESS$ -w $ARG1$ -c $ARG2$ -p 5</div>
<div><br></div><div>First one if i try in the command line works, second one does not.</div><div><br></div><div><br></div><div>Any help is appreciated, thank you.</div>