/[monit]/monit/monitrc
ViewVC logotype

Diff of /monit/monitrc

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

revision 1.26 by hauk, Fri Dec 20 17:45:38 2002 UTC revision 1.27 by hauk, Sat Dec 21 01:45:22 2002 UTC
# Line 195  Line 195 
195  # [NB! Check and edit for your system and uncomment below]  # [NB! Check and edit for your system and uncomment below]
196  #  #
197  # set daemon  120           # Poll at 2-minute intervals  # set daemon  120           # Poll at 2-minute intervals
 # set init                  # Run monit in "init" mode (non-backgrounded)  
198  # set logfile syslog        # Set syslog as the logfile  # set logfile syslog        # Set syslog as the logfile
 # set pidfile /var/run/monit.pid # Change the default pidfile location  
199  # set mailserver localhost  # Use localhost as the smtp server  # set mailserver localhost  # Use localhost as the smtp server
200  # set mail-format           # Set a default mail from address for  # set mail-format           # Set a default mail from address for
201  #  { from: monit@foo.bar }  # all alert messages emitted by monit  #  { from: monit@foo.bar }  # all alert messages emitted by monit
# Line 217  Line 215 
215  #      and expect the sum 8f7f419955cefa0b33a2ba316cba3659  #      and expect the sum 8f7f419955cefa0b33a2ba316cba3659
216  #    alert security@foo.bar on { checksum }  #    alert security@foo.bar on { checksum }
217  #        with the mail-format { subject: Alarm! }  #        with the mail-format { subject: Alarm! }
218  #    alert sysadm@foo.bar on { timeout, restart }  #    alert sysadm@foo.bar
219  #    timeout(3, 5)  #    timeout(3, 5)
220  #    group server  #    group server
221  #    if cpuusage is greater than 60.0 for 2 cycles then alert  #    if cpuusage is greater than 60.0 for 2 cycles then alert
222  #    if cpuusage > 80.0 5 restart  #    if cpuusage > 80.0 5 restart
223  #    if memkbyte > 100000.0 for 5 cycles then stop  #    if memkbyte > 100000.0 for 5 cycles then stop
224  #    if loadavg(5min) greater than 10 for 8 cycles then stop  #    if loadavg(5min) greater than 10 for 8 cycles then stop
225    #    depends on sybase
226  #      #    
227  #  #
228  #  check sybase with pidfile /var/run/sybase.pid  #  check sybase with pidfile /var/run/sybase.pid
# Line 234  Line 233 
233  #    timeout if 2 restarts within 3 cycles  #    timeout if 2 restarts within 3 cycles
234  #    alert foo@bar  #    alert foo@bar
235  #    group database  #    group database
 #    depends on apache  

Legend:
Removed from v.1.26  
changed lines
  Added in v.1.27

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