/[monit]/monit/monitrc
ViewVC logotype

Diff of /monit/monitrc

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

revision 1.22 by hauk, Sun Nov 3 14:54:30 2002 UTC revision 1.23 by martinp, Sun Nov 3 21:50:30 2002 UTC
# Line 97  Line 97 
97  #  #
98  #   every          -- Only check the program at every n cycles. Optional.  #   every          -- Only check the program at every n cycles. Optional.
99  #  #
100  #   autostart      -- Must be followed by the keywords yes or no. If yes  #   mode           -- Must be followed either by the keyword active, passive
101  #                     monit will restart the program if it is not running  #                     or manual. If active, monit will restart the program
102  #                     (this is the default behaviour). If no monit will not  #                     if it is not running (this is the default behaviour).
103  #                     (re)start the program if it is not running. It is  #                     If passive, monit will only monitor and send alerts
104  #                     recommended that you use yes or don't use this statement.  #                     (resource related restart and stop options are ignored
105    #                     in this mode also). If manual, monit will enter active
106    #                     mode only if service was started under monit's control
107    #                     otherwise the service isn't monitored.
108  #  #
109  #   cpuusage       -- Must be followed by a compare operator, a floating  #   cpuusage       -- Must be followed by a compare operator, a floating
110  #                     point number, optionally a maximum number of cycles  #                     point number, optionally a maximum number of cycles
# Line 216  Line 219 
219  #  check sybase with pidfile /var/run/sybase.pid  #  check sybase with pidfile /var/run/sybase.pid
220  #    start program = "/etc/init.d/sybase start"  #    start program = "/etc/init.d/sybase start"
221  #    stop program  = "/etc/init.d/sybase stop"  #    stop program  = "/etc/init.d/sybase stop"
222    #    mode passive
223  #    port 4001  #    port 4001
224  #    timeout if 2 restarts within 3 cycles  #    timeout if 2 restarts within 3 cycles
225  #    alert foo@bar  #    alert foo@bar
 #    autostart no  
226  #    group database  #    group database
227  #    depend apache  #    depend apache

Legend:
Removed from v.1.22  
changed lines
  Added in v.1.23

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