[Nagiosplug-help] Error Message - return code of 255 out of bounds
Evans Plummer
evans.plummer at usis.com
Thu May 21 21:05:23 CEST 2009
Edman,
First, thanks for the input! I still do not have something quite
right. Now I receive (Return code of 9 is out of bounds). Below are
the service and command definitions.
# 'check_url_status' command definition
define command{
command_name check_url_status
command_line $USER1$/check_url_status $HOSTADDRESS$ -U $ARG1$
$ARG2$ $ARG3$
}
# 'check_url_status' command definition
define service{
use local-service ; Name of
service template to use
host_name localhost
service_description URL_STATUS
check_command check_url_status!
URL!--http-user=someuser!--http-passwd=somepassword
}
Van
On Thu, 2009-05-21 at 11:05 -0700, Edman Cheung wrote:
> 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/
>
> ------------------------------------------------------------------------------
> 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. http://www.creativitycat.com
> _______________________________________________ Nagiosplug-help mailing list Nagiosplug-help at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagiosplug-help ::: Please include plugins version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-plugins.org/archive/help/attachments/20090521/11eb5c81/attachment.html>
More information about the Help
mailing list