<HTML>
<HEAD>
<TITLE>Re: [Nagiosplug-help] Error Message - return code of 255 out of bounds</TITLE>
</HEAD>
<BODY>
<FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'>Hi Van<BR>
<BR>
Your command line should read;<BR>
<BR>
command_line       $USER1$/check_url_status $HOSTADDRESS$ -u $ARG1$ $ARG2$ $ARG3$<BR>
<BR>
I’m assuming this check is based on check_http and you have check_url_status defined in your checkcommands.cfg file?  Could you post your definiton from that file?<BR>
<BR>
And your service definition should be;<BR>
<BR>
check_command         check_url_status!URL!--http-user=someuser!--http-passwd=somepassword<BR>
<BR>
<BR>
Ed<BR>
<BR>
On 5/21/09 10:49 AM, "Philip Marcus" <<a href="pmarcus@factual.com">pmarcus@factual.com</a>> wrote:<BR>
<BR>
</SPAN></FONT><BLOCKQUOTE><BLOCKQUOTE><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'># 'check_url_status' command definition<BR>
define command{<BR>
        command_name    check_url_status<BR>
        command_line       $USER1$/check_url_status $HOSTADDRESS$ $ARG1$ $ARG2$<BR>
        } <BR>
<BR>
define service{<BR>
        use                             local-service         ; Name of service template to use<BR>
        host_name                  localhost<BR>
        service_description      URL_STATUS<BR>
        check_command         check_url_status!-U!URL!--http-user=someuser!--http-passwd=somepassword<BR>
        }<BR>
</SPAN></FONT></BLOCKQUOTE></BLOCKQUOTE><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'><BR>
-- -- -- -- -- -- -- --<BR>
Edman Cheung                                     <a href="echeung@intelius.com">echeung@intelius.com</a><BR>
System Administrator                          Tel: 425-974-6148<BR>
                                                                 Cell: 510-676-8074<BR>
Intelius<BR>
500 108th Ave NE, 25th floor<BR>
Bellevue, WA 98004 USA<BR>
<FONT COLOR="#0000FE"><U><a href="http://www.intelius.com/">http://www.intelius.com/</a></U></FONT><BR>
</SPAN></FONT>
</BODY>
</HTML>