[Nagiosplug-help] Error Message - return code of 255 out of bounds
Philip Marcus
pmarcus at factual.com
Thu May 21 19:49:07 CEST 2009
Van,
Your service definition arguments do not match your command definition
expected arguments.
In your command definition you pass to the check_url_status command only 3
Variables, HOSTADDRESS, ARG1, ARG2.
In your service definition, you have 4 Arguments plus the HOSTADDRESS
variable.
This is what the check_url_status command is receiving:
check_url_status localhost -U URL
If you need the additional 2 arguments, add an $ARG3$ $ARG4$
Every " ! " in your service check_command definition is passed as an
"$ARG#$" argument to the actual command.
Hope that help!
-Philip
On Thu, May 21, 2009 at 5:38 AM, Evans Plummer <evans.plummer at usis.com>wrote:
> Morning,
>
> I am using the "check_url_status" plugin and receiving the above
> mentioned error. Below is the command and service definition info. Can
> anyone tell me why I am receiving this message? Thanks in advance!
>
> # '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
> }
>
> Van
>
> ------------------------------
> 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.
>
>
>
> ------------------------------------------------------------------------------
> 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
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-plugins.org/archive/help/attachments/20090521/2469ddba/attachment.html>
More information about the Help
mailing list