<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
<META NAME="GENERATOR" CONTENT="GtkHTML/3.18.1">
<TITLE>Re: [Nagiosplug-help] Error Message - return code of 255 out of bounds</TITLE>
</HEAD>
<BODY>
Here is the http service definition. I do not believe the check_url_status plugin uses http, is that correct?<BR>
<BR>
# 'check_http' command definition<BR>
define command{<BR>
command_name check_http<BR>
command_line $USER1$/check_http -I $HOSTADDRESS$ $ARG1$<BR>
}<BR>
<BR>
On Thu, 2009-05-21 at 11:05 -0700, Edman Cheung wrote:<BR>
<BLOCKQUOTE TYPE=CITE>
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>
<BLOCKQUOTE>
<BLOCKQUOTE>
# '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>
</BLOCKQUOTE>
</BLOCKQUOTE>
<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>
<U><FONT COLOR="#0000fe"><A HREF="http://www.intelius.com/">http://www.intelius.com/</A></FONT></U>
<PRE>
------------------------------------------------------------------------------
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT
is a gathering of tech-side developers & brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing, &
iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian
Group, R/GA, & Big Spaceship. <A HREF="http://www.creativitycat.com">http://www.creativitycat.com</A>
_______________________________________________ Nagiosplug-help mailing list <A HREF="mailto:Nagiosplug-help@lists.sourceforge.net">Nagiosplug-help@lists.sourceforge.net</A> <A HREF="https://lists.sourceforge.net/lists/listinfo/nagiosplug-help">https://lists.sourceforge.net/lists/listinfo/nagiosplug-help</A> ::: Please include plugins version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
</PRE>
</BLOCKQUOTE>
<DIV><P><HR>
The information contained in and transmitted with this e-mail is confidential. It is intended only for the individual or entity designated above. You are hereby notified that any dissemination, distribution, copying or use of or reliance on the information contained in and transmitted with this e-mail by or to anyone other than the recipient designated above by the sender is unauthorized and strictly prohibited. If you have received this e-mail in error, please contact the sender immediately and notify them that you received this in error. Any e-mail erroneously transmitted to you should be immediately destroyed. Thank you for your attention to this note of confidentiality. <BR>
<BR>
</P></DIV>
</BODY>
</HTML>