<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br><div><div>On Nov 11, 2010, at 5:26 AM, Marc Powell wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div><br>On Nov 10, 2010, at 7:36 PM, Jonathan Wiggins wrote:<br><br><blockquote type="cite">I see this in the messages files:<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">Nov  9 00:00:00 nagiosbox nagios: CURRENT SERVICE STATE: monitorednode;Home Page;CRITICAL;HARD;1;No route to host <br></blockquote><blockquote type="cite">Nov 10 00:00:00 nagiosbox nagios: CURRENT HOST STATE: monitorednode;UP;HARD;1;PING OK - Packet loss = 0%, RTA = 0.21 ms <br></blockquote><blockquote type="cite">Nov 10 00:00:00 nagiosbox nagios: CURRENT SERVICE STATE: monitorednode;Home Page;CRITICAL;HARD;1;No route to host<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">which looks like there is no packet loss on the PING to the host, but then it shows No Route To Host<br></blockquote><br>'No Route To Host' is not a nagios error message but is coming from your operating system. Based on that and the above information, I'd say that the 'Home Page' check is being told to check a different, invalid, host name or address than the ping check.<br><br>Please post the host{}, service{} and command{} definition related to the 'Home Page' check if that's not enough to get you on the right path so we can take a look at it.<br><br>--<br>Marc<br>------------------------------------------------------------------------------<br></div></blockquote><br></div><div><br></div><div>Hi Marc</div><div><br></div><div>Thanks for answering my question.</div><div><br></div><div>what you say above makes total sense, except that I can't find a "home page" check anywhere on the system. I can locate the check_ping, check_http, check_host_alive.. but they dont reference anything by host name or IP for that matter:</div><div><br></div><div>I got these from <b>/usr/local/nagios/etc/objects/commands.cfg</b></div><div><br></div><div><div><b>'check-host-alive' command definition</b></div><div><b>define command{</b></div><div><b>        command_name    check-host-alive</b></div><div><b>        command_line    $USER1$/check_ping -H $HOSTADDRESS$ -w 3000.0,80% -c 5000.0,100% -p 5</b></div><div><b><br></b></div><div><b>'check_ping' command definition</b></div><div><b>define command{</b></div><div><b>        command_name    check_ping</b></div><div><b>        command_line    $USER1$/check_ping -H $HOSTADDRESS$ -w $ARG1$ -c $ARG2$ -p 5</b></div><div><b><br></b></div><div><b># 'check_http' command definition</b></div><div><b>define command{</b></div><div><b>        command_name    check_http</b></div><div><b>        command_line    $USER1$/check_http -I $HOSTADDRESS$ $ARG1$</b></div><div><b>        }</b></div><div><br></div><div>Under /etc/rc.d/init.d/nagios I can see that I've got the paths right:</div><div><b><br></b></div><div><div><b>prefix="/usr/local/nagios"</b></div><div><b>exec_prefix="/usr/local/nagios"</b></div><div><b>exec="/usr/local/nagios/bin/nagios"</b></div><div><b>config="/usr/local/nagios/etc/nagios.cfg"</b></div></div></div><br><div>It probably doesn't help my understanding/troubleshooting that the previous admin rolled up 2 different sets of binaries, and wound up different paths; e.g.<b> /usr/local/nagios vs /etc/nagios/</b></div></body></html>