[Nagiosplug-help] State set to UNKNOWN instead of OK
John Drescher
drescherjm at gmail.com
Tue Feb 24 17:00:48 CET 2009
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
More information about the Help
mailing list