[Nagiosplug-help] Nagios report state UNKOWN when OK

Luis Raciel luisraciel at electrica.cujae.edu.cu
Fri Feb 13 20:24:22 CET 2009

         I´m a cuban student. I need a detailed nagios plugins
do you know how I can get this Information ?? .. 
sorry for my English!!


Ing. Luis Raciel Fernandez Mugica
Dpto. Telecomunicaciones y Telematica.
Fac. Ingeniería Electrica.

-----Mensaje original-----
De: John Drescher [mailto:drescherjm at gmail.com] 
Enviado el: viernes, 13 de febrero de 2009 8:58
Para: Nagios Plugin Help List
Asunto: Re: [Nagiosplug-help] Nagios report state UNKOWN when OK

On Fri, Feb 13, 2009 at 5:09 AM, Fredrik Stridfeldt
<stridfeldt at gmail.com> wrote:
> Hi!
> This is a problem that I've been having for quite some time. Searching
> the archives turns up a few other people reporting the same problem, but
> I can't find a solution.
> I use check_by_ssh to run the check_disk plugin on a few
> remote systems. When I run this from the command line, it always does
> the right thing. It returns the correct string and return code (checked
> with 'echo $?'). It works flawlessly.
> /usr/local/groundwork/nagios/libexec/check_by_ssh -H -t 60
> "nagios" -C "libexec/check_disk -w 400 -c 200 -p /"
> DISK OK - free space: / 14049 MB (82%);| /=3099MB;16747;16947;0;17147
> -bash-3.2$ echo $?
> 0
> -bash-3.2$
> However, when this is set up to run through Nagios, it usually reports
> the check in the UNKNOWN state...even though it still gives the correct
> "OK..." string.

Not sure if this has anything to do with your problem but I have had
this on gentoo after the installer changed the default location of the
plugins so that none were found. Everything worked correctly if I ran
the command from the plugins folder so I did not suspect that this was
the problem..


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
Nagiosplug-help mailing list
Nagiosplug-help at lists.sourceforge.net
::: Please include plugins version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null

VI Conferencia Internacional de Energía Renovable, Ahorro de Energía y Educación Energética
9 - 12 de Junio 2009, Palacio de las Convenciones
...Por una cultura energética sustentable

More information about the Help mailing list