Occasionally "Return code of 127 for check of host/service was out of bounds. Make sure the plugin you're trying to run actually exists."
Marc Powell
marc at ena.com
Fri Aug 28 14:54:57 CEST 2009
On Aug 28, 2009, at 12:52 AM, Morten Guldager wrote:
> Warning: Return code of 127 for check of host 'myhost' was out of
> bounds. Make sure the plugin you're trying to run actually exists.
> Warning: Return code of 127 for check of service 'myservice' on host
> 'myhost' was out of bounds. Make sure the plugin you're trying to
> run actually exists.
>
> I tracked it down to calls to the plugins were bloated with a huge
> set of environment variables, every plugin call where served
> something that looked like a big chunk of sibling hosts or services
> from the same hostgroup/servicegroup.
>
> The fix were easy, flip the config variable
> "enable_environment_macros" in nagios.cfg from 1 to 0.
Interesting... Good catch. Thanks for sharing.
--
Marc
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________
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