Out of bounds return codes using current CVS Nagios
Phil Costelloe
philc at foundation-it.com
Mon Feb 17 18:50:44 CET 2003
> From: Phil Costelloe
>
> When a plugin returns a WARNING or CRITICAL state, the
> service detail display always shows a CRITICAL error and a
> message such as "(Return code of 512 is out of bounds)". If I
> run the plugin manually (as the nagios user) with identical
> parameters, it behaves as expected when there's a
> warning/critical situation - displaying a text message and
> returning an error code of 1 or 2 or 3. When called by
> Nagios, this error code is apparently being multiplied by 256
> giving a return code of 256 or 512 or 768 which is
> interpreted as being out of bounds.
>
[...]
>
> I'm going to give 200202171109 a try - I'll obviously post
> again if that solves the problem.
It did solve the problem. Curious.
Phil
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.
::: Messages without supporting info will risk being sent to /dev/null
More information about the Users
mailing list