/[monit]/monit/web/doc/next.php
ViewVC logotype

Diff of /monit/web/doc/next.php

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.2 by martinp, Wed Dec 29 13:38:03 2004 UTC revision 1.3 by martinp, Fri Jan 21 21:34:54 2005 UTC
# Line 49  mailing lists</A> and let us know. Line 49  mailing lists</A> and let us know.
49    <li><a href="#18">ARP (MAC address) tests in host services</a></li>    <li><a href="#18">ARP (MAC address) tests in host services</a></li>
50    <li><a href="#19">SCSI ping support for device test</a></li>    <li><a href="#19">SCSI ping support for device test</a></li>
51    <li><a href="#20">Event ratio dependant action rules</a></li>    <li><a href="#20">Event ratio dependant action rules</a></li>
52      <li><a href="#21">Action list support and optional service name target</a></li>
53  </ol>  </ol>
54  </div>  </div>
55    
# Line 435  ACTION = given action (alert|restart|unm Line 436  ACTION = given action (alert|restart|unm
436          </tr>          </tr>
437  </table>  </table>
438    
439    <table id="feature">
440          <tr>
441            <td colspan=2>
442    
443    <h3><a name="21">Action list support and optional service name target</a></h3>
444    Allows to specify list of actions, optionaly referencing other service name
445    in monit control file.<br>
446    <p>
447    Possible syntax (example):
448    <pre>
449      IF FAILED <test> THEN {<action> [<service>], ...}
450    </pre>
451    <p>
452    Example usage:
453    <pre>
454      check process ipsec with pidfile /var/run/ipsec.pid
455       start program = "/etc/init.d/ipsec start"
456       stop program = "/etc/init.d/ipsec stop"
457    
458      check host theotherside with address the.other.side
459        if failed icmp type echo then alert, restart ipsec
460    </pre>
461              </td>
462            </tr>
463            <tr>
464              <td width=10% style="padding-right: 20px;">
465                Responsible:</td>
466              <td>?</td>
467            </tr>
468            <tr>
469              <td>Progress:</td>
470              <td bgcolor="blue" align=center>
471                <b><font color=#ffffff>0%</font></b>
472              </td>
473            </tr>
474            <tr>
475              <td>Importance:</td><td><b>LOW</b></td>
476            </tr>
477    </table>
478    
479            </td>            </td>
480         </tr>         </tr>
481       </table>       </table>

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.3

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26