/[monit]/monit/monitrc
ViewVC logotype

Diff of /monit/monitrc

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

revision 1.71 by martinp, Sat Nov 5 14:09:00 2005 UTC revision 1.72 by martinp, Fri Nov 18 22:52:39 2005 UTC
# Line 266  Line 266 
266  #  #
267  ## [NB! Check and edit for your system and uncomment below]  ## [NB! Check and edit for your system and uncomment below]
268  #  #
269  ## Poll at 2-minute intervals.  ## Daemonize monit and poll at 2-minute intervals.
270  # set daemon  120  # set daemon  120
271  #  #
272  ## Set syslog logging.  ## Set syslog logging.
# Line 295  Line 295 
295  #     allow localhost       # allow localhost to connect to the server and  #     allow localhost       # allow localhost to connect to the server and
296  #     allow admin:monit     # user 'admin' with password 'monit'  #     allow admin:monit     # user 'admin' with password 'monit'
297  #  #
298    #    
299    #  check system myhost.mydomain.tld
300    #    if loadavg (1min) > 4 then alert
301    #    if loadavg (5min) > 2 then alert
302    #    if memory usage > 75% then alert
303    #    if cpu usage (user) > 70% then alert
304    #    if cpu usage (system) > 30% then alert
305    #    if cpu usage (wait) > 20% then alert
306    #
307    #    
308  #  check process apache with pidfile /usr/local/apache/logs/httpd.pid  #  check process apache with pidfile /usr/local/apache/logs/httpd.pid
309  #    start program = "/etc/init.d/httpd start"  #    start program = "/etc/init.d/httpd start"
310  #    stop program  = "/etc/init.d/httpd stop"  #    stop program  = "/etc/init.d/httpd stop"

Legend:
Removed from v.1.71  
changed lines
  Added in v.1.72

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