We've moved to a new support system!

The Nagios Answer Hub is a place where you can get help with technical questions from our experts. There, you can quickly open tickets and join discussion boards.

Request Nagios Answer Hub access here: https://info.nagios.com/answer-hub-access-new-users

After completing the access form, you will be given access to a portal where new tickets can be created. We will keep the old customer forum sections and ticket system available for current cases to be resolved.

Go to the Answer Hub

Re: [Nagios-devel] better error message

Engage with the community of users including those using the open source solutions.
Includes Nagios Core, Plugins, and NCPA

Re: [Nagios-devel] better error message

Postby Guest » Thu May 23, 2002 8:59 pm

That would do just fine.

The current log file message doesn't mention any missing file...

[1022171334] Warning: Return code of 127 for check of service 'Wired'
on host 'wave' was out of bounds.
[1022171334] SERVICE ALERT: wave;Wired;CRITICAL;SOFT;1;(Return code
of 127 is out of bounds)


On Thu, 23 May 2002, Ethan Galstad wrote:

> A message gets logged whenever a return code of 127 is found. The
> log file message explains that the file may be missing. I suppose
> the plugin output could also be modified, but I didn't do it because
> I wasn't sure if this worked across different Unices. I guess
> there's no harm in modifying the output to indicate the file may be
> missing as well. Does something like "Return code 127 out of bounds -
> plugin may be missing" sound reasonable?
> On 23 May 2002 at 23:35, Subhendu Ghosh wrote:
> >
> > Hi Ethan
> >
> > Is there a way to get a better error message if nagios cannot find the
> > specified plugin in the appropriate location?
> >
> > Currently it reports "Return 127 out of bounds" which lead to think that
> > the plugin is not working - when it actually wasn't there.
> >
> > Ran across this while migrating an installation. config files were corect
> > but I had forgotten to install some of add-on plugins.
> >
> > -sg
> Ethan Galstad,
> Nagios Developer
> ---
> Email: nagios@nagios.org
> Website: http://www.nagios.org

This post was automatically imported from historical nagios-devel mailing list archives
Original poster: sghosh@sghosh.org

Return to Community Support

Who is online

Users browsing this forum: No registered users and 18 guests