<!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">
    Hi,<br>
    <br>
    I created a file with command and state : pix.cmd<br>
    <br>
    command [ pix1 ] = check_icmp -H 1.2.3.4 -w 3000.0,80% -c
    5000.0,100% -p 1<br>
    command [ pix2 ] = check_icmp -H 1.2.3.5 -w 3000.0,80% -c
    5000.0,100% -p 1<br>
    command [ pix3 ] = check_icmp -H 1.2.3.6 -w 3000.0,80% -c
    5000.0,100% -p 1<br>
    <br>
    state [ OK ] = pix1 == OK && pix2 == OK && pix3 ==
    OK<br>
    state [ CRITICAL ] = pix1 == CRITICAL || pix2 == CRITICAL || pix3 ==
    CRITICAL<br>
    <br>
    <br>
    When i run a command with the plugin check_multi the result is
    UNKNOWN, instead of CRITICAL.<br>
    <br>
    # /usr/lib/nagios/plugins/check_multi -f pix.cmd -r 5<br>
    <br>
    UNKNOWN - 3 plugins checked, 2 unknown (pix1, pix2), 1 ok [please
    don't run plugins as root!]<br>
    [ 1] pix1 OK - 10.50.184.245: rta 74,980ms, lost 0%<br>
    [ 2] pix2 CRITICAL - 217.108.39.122: rta nan, lost 100% [timeout
    encountered after 10s]<br>
    [ 3] pix3 CRITICAL - 217.108.39.122: rta nan, lost 100% [timeout
    encountered after 10s]<br>
    <br>
    <br>
    Have you any idea?<br>
    regards<br>
    Stan<br>
    <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>