problem state with check_multi

LEVEAU Stanislas stanislas.leveau at ac-caen.fr
Tue Jul 5 12:10:04 CEST 2011


Hi Matthias,

Thanks a lot, so good ;))

/usr/lib/nagios/plugins/check_multi -f pix.cmd -r 5 -t 20

CRITICAL - 3 plugins checked, 1 critical (pix2), 2 ok [please don't run 
plugins as root!]
[ 1] pix1 OK - 1.2.3.4: rta 75,127ms, lost 0%
[ 2] pix2 CRITICAL - 1.2.3.5: rta nan, lost 100%
[ 3] pix3 OK - 1.2.3.6: rta 70,627ms, lost 0%

Regards
Stan

Le 04/07/2011 21:19, Matthias Flacke a écrit :
> Hi Stanislas,
>
> the RC UNKNOWN and the message '[timeout encountered after 10s]' is not
> from check_icmp, but from the check_multi child check timeout, which
> also encountered after 10s. :)
>
> To get sure which timeout actually is working, either specify another
> timeout for check_icmp, or for check_multi child child checks.
>
> Cheers,
> -Matthias
>
> On 7/4/11 5:13 PM, LEVEAU Stanislas wrote:
>> Hi,
>>
>> I created a file with command and state : pix.cmd
>>
>> command [ pix1 ] = check_icmp -H 1.2.3.4 -w 3000.0,80% -c 5000.0,100% -p 1
>> command [ pix2 ] = check_icmp -H 1.2.3.5 -w 3000.0,80% -c 5000.0,100% -p 1
>> command [ pix3 ] = check_icmp -H 1.2.3.6 -w 3000.0,80% -c 5000.0,100% -p 1
>>
>> state [ OK ] = pix1 == OK&&  pix2 == OK&&  pix3 == OK
>> state [ CRITICAL ] = pix1 == CRITICAL || pix2 == CRITICAL || pix3 ==
>> CRITICAL
>>
>>
>> When i run a command with the plugin check_multi the result is UNKNOWN,
>> instead of CRITICAL.
>>
>>
>>
>> Have you any idea?
>> regards
>> Stan
>>
>> -- 
>> *Stanislas LEVEAU**
>>
>> *Rectorat de Caen
>> 168, rue Caponière
>> B.P. 6184
>> 14061 CAEN Cedex
>> 	Service Informatique de l'Académie de Caen
>> Département Systèmes&  Réseaux
>>
>> stanislas.leveau at ac-caen.fr
>>   Tel : 02.31.30.17.86
>>
>>
>>
>>
>>
>> ------------------------------------------------------------------------------
>> All of the data generated in your IT infrastructure is seriously valuable.
>> Why? It contains a definitive record of application performance, security
>> threats, fraudulent activity, and more. Splunk takes this data and makes
>> sense of it. IT sense. And common sense.
>> http://p.sf.net/sfu/splunk-d2d-c2
>>
>>
>>
>> _______________________________________________
>> Nagios-users mailing list
>> Nagios-users at lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/nagios-users
>> ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.
>> ::: Messages without supporting info will risk being sent to /dev/null
>
> ------------------------------------------------------------------------------
> All of the data generated in your IT infrastructure is seriously valuable.
> Why? It contains a definitive record of application performance, security
> threats, fraudulent activity, and more. Splunk takes this data and makes
> sense of it. IT sense. And common sense.
> http://p.sf.net/sfu/splunk-d2d-c2
> _______________________________________________
> Nagios-users mailing list
> Nagios-users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-users
> ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.
> ::: Messages without supporting info will risk being sent to /dev/null
>

-- 
*Stanislas LEVEAU**

*Rectorat de Caen
168, rue Caponière
B.P. 6184
14061 CAEN Cedex
	Service Informatique de l'Académie de Caen
Département Systèmes & Réseaux

stanislas.leveau at ac-caen.fr
  Tel : 02.31.30.17.86



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20110705/8b2bf945/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security 
threats, fraudulent activity, and more. Splunk takes this data and makes 
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null


More information about the Users mailing list