<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#ffffff" text="#000099">
    <font size="-1">Hi Matthias,<br>
      <br>
      Thanks a lot, so good ;))<br>
      <br>
      /usr/lib/nagios/plugins/check_multi -f pix.cmd -r 5 -t 20<br>
      <br>
      CRITICAL - 3 plugins checked, 1 critical (pix2), 2 ok [please
      don't run plugins as root!]<br>
      [ 1] pix1 OK - 1.2.3.4: rta 75,127ms, lost 0%<br>
      [ 2] pix2 CRITICAL - 1.2.3.5: rta nan, lost 100%<br>
      [ 3] pix3 OK - 1.2.3.6: rta 70,627ms, lost 0%<br>
      <br>
      Regards<br>
      Stan<br>
    </font><br>
    Le 04/07/2011 21:19, Matthias Flacke a écrit :
    <blockquote cite="mid:4E121246.60104@gmx.de" type="cite">
      <pre wrap="">
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:
</pre>
      <blockquote type="cite">
        <pre wrap="">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

<a class="moz-txt-link-abbreviated" href="mailto:stanislas.leveau@ac-caen.fr">stanislas.leveau@ac-caen.fr</a>
 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.
<a class="moz-txt-link-freetext" href="http://p.sf.net/sfu/splunk-d2d-c2">http://p.sf.net/sfu/splunk-d2d-c2</a>



_______________________________________________
Nagios-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Nagios-users@lists.sourceforge.net">Nagios-users@lists.sourceforge.net</a>
<a class="moz-txt-link-freetext" href="https://lists.sourceforge.net/lists/listinfo/nagios-users">https://lists.sourceforge.net/lists/listinfo/nagios-users</a>
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null
</pre>
      </blockquote>
      <pre wrap="">

------------------------------------------------------------------------------
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.
<a class="moz-txt-link-freetext" href="http://p.sf.net/sfu/splunk-d2d-c2">http://p.sf.net/sfu/splunk-d2d-c2</a>
_______________________________________________
Nagios-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Nagios-users@lists.sourceforge.net">Nagios-users@lists.sourceforge.net</a>
<a class="moz-txt-link-freetext" href="https://lists.sourceforge.net/lists/listinfo/nagios-users">https://lists.sourceforge.net/lists/listinfo/nagios-users</a>
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null

</pre>
    </blockquote>
    <br>
    <div class="moz-signature">-- <br>
      <title>Stanislas LEVEAU</title>
      <meta http-equiv="content-type" content="text/html;
        charset=ISO-8859-1">
      <meta name="author" content="Stanislas LEVEAU">
      <table style="background-color: rgb(102, 153, 255); width: 400px;
        height: 112px;" border="2" cellpadding="2" cellspacing="2">
        <tbody>
          <tr>
            <td style="vertical-align: middle; background-color:
              rgb(255, 255, 255); text-align: center;"><font
                style="color: rgb(51, 102, 204);" size="-2"
                face="Helvetica, Arial, sans-serif"><font size="-1"><b>Stanislas
                    LEVEAU</b></font><b><br>
                  <br>
                </b>Rectorat de Caen<br>
              </font><font style="color: rgb(51, 102, 204);" size="-2"
                face="Helvetica, Arial, sans-serif">168, rue
                Caponière<br>
                B.P. 6184<br>
                14061 CAEN Cedex</font><br>
            </td>
            <td style="background-color: rgb(255, 255, 255);
              vertical-align: middle; text-align: center;"><font
                style="color: rgb(51, 102, 204); font-style: italic;"
                size="-1">Service Informatique de l'Académie de Caen</font><font
                size="-2" face="Helvetica, Arial, sans-serif"><br
                  style="background-color: rgb(102, 153, 255);
                  vertical-align: middle; text-align: center;">
                <font style="color: rgb(51, 102, 204); font-style:
                  italic;" size="-1">Département Systèmes & Réseaux</font><font
                  size="-2" face="Helvetica, Arial, sans-serif"><br
                    style="color: rgb(51, 102, 204); font-style:
                    italic;">
                  <br>
                  <span style="color: rgb(51, 102, 204); font-weight:
                    bold;"><a class="moz-txt-link-abbreviated" href="mailto:stanislas.leveau@ac-caen.fr">stanislas.leveau@ac-caen.fr</a></span><br
                    style="color: rgb(51, 102, 204); font-weight: bold;">
                  <span style="color: rgb(51, 102, 204); font-weight:
                    bold;"> Tel
                    : 02.31.30.17.86</span></font><br>
              </font></td>
          </tr>
        </tbody>
      </table>
      <br>
      <br>
    </div>
  </body>
</html>