[Nagiosplug-help] State set to UNKNOWN instead of OK

Fredrik Stridfeldt stridfeldt at gmail.com
Wed Feb 25 14:12:38 CET 2009


Yepp, i run the same checks against 3 other boxes, same OS, same config
everything (cloned) - i get OK status from them.
The input i get from the troubled box do not contain any strange chars or
trails.

If i submit a passive OK result (using the string i get) it resets to OK
status. But at next automatic check it will be
set to UNKOWN again ..

/Fredrik


On Tue, Feb 24, 2009 at 5:00 PM, John Drescher <drescherjm at gmail.com> wrote:

> On Tue, Feb 24, 2009 at 10:49 AM, Fredrik Stridfeldt
> <stridfeldt at gmail.com> wrote:
> > Hi,
> >
> > Yes $? eq 0 on both sides.
> >
> > From appserver:
> > libexec/check_disk -w 400 -c 220 -p /
> > DISK OK - free space: / 13998 MB (82%);| /=3149MB;16747;16927;0;17147
> > bash-2.05$ echo $?
> > 0
> >
> > From Nagiosbox:
> > -bash-3.2$ /usr/local/nagios/libexec/check_by_ssh -H 10.194.145.142 -t 60
> -l
> > "nagios" -C "libexec/check_disk -w 400 -c 220 -p /"
> > DISK OK - free space: / 13998 MB (82%);| /=3149MB;16747;16927;0;17147
> > -bash-3.2$ echo $?
> > 0
> >
>
> Are you sure the path to the plugins is correct on both sides? In
> gentoo I have had this error when the distro decided to change the
> default location of the plugins.
>
> John
>
>
> ------------------------------------------------------------------------------
> Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco,
> CA
> -OSBC tackles the biggest issue in open source: Open Sourcing the
> Enterprise
> -Strategies to boost innovation and cut costs with open source
> participation
> -Receive a $600 discount off the registration fee with the source code:
> SFAD
> http://p.sf.net/sfu/XcvMzF8H
> _______________________________________________
> 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/20090225/429790ac/attachment.html>


More information about the Help mailing list