<div dir="ltr"><div>Hello friends,</div>
<div>First of all thanks for ur immense support..</div>
<div>But im making some mistake,I get this error from nagios webpage</div>
<div> </div>
<div>
<table border="0">
<tbody>
<tr>
<td class="dataVar">Current Status:</td>
<td class="dataVal">
<div class="serviceCRITICAL">  CRITICAL  </div> (for 0d 0h 42m 23s)</td></tr>
<tr>
<td class="dataVar" valign="top">Status Information:</td>
<td class="dataVal">(Return code of 127 is out of bounds - plugin may be missing)</td></tr></tbody></table></div>
<div> </div>
<div>My command.cfg is as follows</div>
<div> </div>
<div># 'check_http' command definition<br>define command{<br>        command_name    check_http<br>        command_line    $USER1$/check_http -I $HOSTADDRESS$ $ARG1$<br>        }</div>
<div># 'check_http_path'<br>define command {<br>  command_name    check_http_path<br>  command_line    check_http -H '$ARG1$' -u '$ARG2$' -w $ARG3$ -c $ARG4$</div>
<div>}</div>
<div> </div>
<div>i've the check_http plugin at  /usr/local/nagios/libexec/check_http (with chown nagios.nagios)</div>
<div> </div>
<div>Should I change the commandline as it is just IP?</div>
<div>Thanks,</div>
<div>Harry</div>
<div> </div>
<div><br><br><br> </div>
<div class="gmail_quote">On Tue, Mar 10, 2009 at 12:14 AM, Justin Pasher <span dir="ltr"><<a href="mailto:justinp@newmediagateway.com">justinp@newmediagateway.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">Justin Pasher wrote:<br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
<div class="im">Harry John wrote:<br> <br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">Hi friends,<br> am just wondering how  to monitor a  website as<br><a href="http://172.168.1.1:82/xap/murl2?language=en" target="_blank">http://172.168.1.1:82/xap/murl2?language=en</a><br>
 define service{<br>use generic-service ; Inherit default values from a template<br>host_name remotehost<br>service_description HTTP<br>check_command check_http<br>}<br>How do I fit this link here?<br>   <br></blockquote>
<br></div>
<div class="im">define service {<br>   use generic-service ; Inherit default values from a template<br>   host_name remotehost<br>   service_description HTTP<br>   check_command check_http_path!<a href="http://172.168.1.1:82/" target="_blank">172.168.1.1:82</a> <<a href="http://172.168.1.1:82/xap/murl2?language=en" target="_blank">http://172.168.1.1:82/xap/murl2?language=en</a>>!/xap/murl2?language=en <<a href="http://172.168.1.1:82/xap/murl2?language=en" target="_blank">http://172.168.1.1:82/xap/murl2?language=en</a>>!25!50<br>
}<br> <br></div></blockquote><br>Agh.. stupid Thunderbird. It should look like this: 
<div class="im"><br><br>define service {<br>  use generic-service ; Inherit default values from a template<br>  host_name remotehost<br>  service_description HTTP<br></div>  check_command check_http_path!172.168.1.1:82!/xap/murl2?language=en!25!50<br>
}<br><br><br><br>-- <br><font color="#888888">Justin Pasher<br></font></blockquote></div><br></div>