/[monit]/monit/web/next.html
ViewVC logotype

Diff of /monit/web/next.html

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

revision 1.23 by hauk, Wed Mar 5 16:24:52 2003 UTC revision 1.24 by martinp, Mon Jun 9 20:40:47 2003 UTC
# Line 53  lists</A> and let us know. Line 53  lists</A> and let us know.
53    
54  <li><b>Monitoring file systems and devices.</b><p>  <li><b>Monitoring file systems and devices.</b><p>
55    
 Monitoring of file/storage systems.    
 <pre>  
 Statements:  
 CHECK [PROCESS] name options,...  
 CHECK [FILE|DIRECTORY|DEVICE] PATH options,...  
   
   
 Control file examples:  
   
 # Optionally prefix the current check statement  
 # with a process tag  
 check process sshd with pidfile "/var/run/sshd.pid"  
   start "/etc/init.d/sshd start"  
   [...]  
   
   
 check device /dev/hda1  
  if used > 100Gb then alert martin or  
  if available < 100Mb then alert martin  
  if available < 1000inodes then alert martin  
  # In case the device is not there anymore  
  if error then alert martin  
   
 check directory /foo/directory  
  if size > 100Mb then alert martin  
  # If the directory was deleted  
  if deleted then alert security@bar  
   
 check file /foo/bar/file  
  if size > 10Mb then alert hauk  
  if deleted then alert security@bar  
   
 </pre>  
56  <p>  <p>
57  <code>  <code>
58  <table border=0 cellspacing=5>  <table border=0 cellspacing=5>
# Line 94  check file /foo/bar/file Line 61  check file /foo/bar/file
61  </tr>  </tr>
62  <tr>  <tr>
63  <td width=50%>Progress:</td>  <td width=50%>Progress:</td>
64  <td width=50% bgcolor="#00aaaa" align=center><b><font color=#ffffff>10%</font></b></td>  <td width=50% bgcolor="green" align=center><b><font color=#ffffff>100%</font></b></td>
65  </tr>  </tr>
66  <tr>  <tr>
67  <td width=50%>Importance:</td><td width=50%>HIGH</td>  <td width=50%>Importance:</td><td width=50%>HIGH</td>

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

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