Page 1 of 1

Re: [Nagios-devel] better error message

Posted: Thu May 23, 2002 8:59 pm
by Guest
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)
-----

thanks
-sg

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