/[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.35 by martinp, Thu Sep 25 11:02:56 2003 UTC revision 1.36 by hauk, Thu Sep 25 12:47:16 2003 UTC
# Line 88  messages from the SMTP server (more prop Line 88  messages from the SMTP server (more prop
88    
89  <p>  <p>
90    
91    <div style='padding-left:10px; width:100%; border:1px solid;'>
92    <h3>Alert limitation</h3>
93    
94    monit should only raise one alert per IF-TEST. Consider the following
95    tests:
96    <pre>
97    if size > 80% then alert
98    if size > 99% then stop
99    </pre>
100    <p>
101    As monit is implemented today, alerts will be raised in each poll
102    cycle when size is &gt; 80% and &lt; 99%. This can mean that a lot of
103    alerts are sent!  Instead monit should send only one alert as long as
104    size is greater then 80%. When the disk size goes back below 80%
105    internal flags are reset and monit can start sending <b>one</b> alert
106    if size again grows above 80%.
107    <p>
108    The same logic should be applied to other comparative IF-TESTs such
109    as:
110    <p>
111    <pre>
112     if cpu > 40% then alert
113     if cpu > 99% then stop
114     if mem > 80Mb then alert
115     if mem > 150Mb then stop
116    </pre>
117    <p>
118    <table style='width: 30%; border-top:1px solid;border-right:1px solid;'>
119    <tr>
120    <td width=50%>Responsible:</td><td width=50%>hauk?</td>
121    </tr>
122    <tr>
123    <td width=50%>Progress:</td>
124    <td width=50% bgcolor="blue" align=center><b>
125    <font color=#ffffff>0%</font></b></td>
126    </tr>
127    <tr>
128    <td width=50%>Importance:</td><td width=50%>HIGH</td>
129    </tr>
130    </table>
131    </div>
132    
133    <p>
134    
135  <!--  -------------------------------------------------------------------- -->  <!--  -------------------------------------------------------------------- -->
136  <!--  ---------------------- MEDIUM PRIORITIES --------------------------- -->  <!--  ---------------------- MEDIUM PRIORITIES --------------------------- -->
137  <!--  -------------------------------------------------------------------- -->  <!--  -------------------------------------------------------------------- -->
# Line 266  built-in web server. Line 310  built-in web server.
310  <p>  <p>
311  <table style='width: 30%; border-top:1px solid;border-right:1px solid;'>  <table style='width: 30%; border-top:1px solid;border-right:1px solid;'>
312  <tr>  <tr>
313  <td width=50%>Responsible:</td><td width=50%>Martin</td>  <td width=50%>Responsible:</td><td width=50%>?</td>
314  </tr>  </tr>
315  <tr>  <tr>
316  <td width=50%>Progress:</td>  <td width=50%>Progress:</td>

Legend:
Removed from v.1.35  
changed lines
  Added in v.1.36

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