[Nagiosplug-help] Error Message - return code of 255 out of bounds
Edman Cheung
echeung at intelius.com
Thu May 21 20:05:33 CEST 2009
Hi Van
Your command line should read;
command_line $USER1$/check_url_status $HOSTADDRESS$ -u $ARG1$ $ARG2$
$ARG3$
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?
And your service definition should be;
check_command
check_url_status!URL!--http-user=someuser!--http-passwd=somepassword
Ed
On 5/21/09 10:49 AM, "Philip Marcus" <pmarcus at factual.com> wrote:
>> # 'check_url_status' command definition
>> define command{
>> command_name check_url_status
>> command_line $USER1$/check_url_status $HOSTADDRESS$ $ARG1$
>> $ARG2$
>> }
>>
>> define service{
>> use local-service ; Name of
>> service template to use
>> host_name localhost
>> service_description URL_STATUS
>> check_command
>> check_url_status!-U!URL!--http-user=someuser!--http-passwd=somepassword
>> }
-- -- -- -- -- -- -- --
Edman Cheung echeung at intelius.com
System Administrator Tel: 425-974-6148
Cell:
510-676-8074
Intelius
500 108th Ave NE, 25th floor
Bellevue, WA 98004 USA
http://www.intelius.com/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-plugins.org/archive/help/attachments/20090521/3d06741b/attachment.html>
More information about the Help
mailing list