monit.rst
changeset 2412 d88d5d1a8cd9
parent 2411 417b9ee21460
equal deleted inserted replaced
2411:417b9ee21460 2412:d88d5d1a8cd9
    67 
    67 
    68 Monit modes
    68 Monit modes
    69 ===========
    69 ===========
    70 
    70 
    71 * In ``active`` mode (the default), Monit will pro-actively monitor a service and in case of
    71 * In ``active`` mode (the default), Monit will pro-actively monitor a service and in case of
    72 problems raise alerts and/or restart the service.
    72   problems raise alerts and/or restart the service.
    73 * In ``passive`` mode, Monit will passively monitor a service and will raise alerts, but will not
    73 * In ``passive`` mode, Monit will passively monitor a service and will raise alerts, but will not
    74 try to fix a problem by executing start, stop or restart.
    74   try to fix a problem by executing start, stop or restart.
    75 * In ``manual`` mode, Monit will enter active mode only if a service was started via Monit.
    75 * In ``manual`` mode, Monit will enter active mode only if a service was started via Monit.
    76 
    76 
    77 Example::
    77 Example::
    78 
    78 
    79   check process App with pidfile /var/run/app.pid
    79   check process App with pidfile /var/run/app.pid