6 |
|
|
7 |
<?php include '../include/menu.php'; ?> |
<?php include '../include/menu.php'; ?> |
8 |
|
|
9 |
<h2>Howto monitor Apache with Monit</h2> |
<h2>How to monitor Apache with Monit</h2> |
10 |
|
|
11 |
<p><i>This HOWTO describe functionality available in monit version 4.5 |
<p><i>This HOWTO describe functionality available in monit version 4.5 |
12 |
and later</i></p> <h3>Author: David Fletcher</h3> <p>Version 1 - Jan |
and later</i></p> <h3>Author: <a |
13 |
2005</p> |
href="http://www.megapico.co.uk">David Fletcher</a></h3> <p>Version 1 |
14 |
|
- Jan 2005</p> |
15 |
|
|
16 |
<ol> |
<ol> |
17 |
|
|
150 |
|
|
151 |
<li><h3>How the limits work</h3> |
<li><h3>How the limits work</h3> |
152 |
|
|
153 |
<p>With one exception all of the percentage limits are the level |
<p>Action can be triggered when each measured quantity rises above or |
154 |
above which action is triggered. As in the example above, an |
falls below the percentage limit. However, with one exception all of the |
155 |
alert is sent when 25% or more of the Apache child processes |
percentage limits are likely to be most useful if taken as the level |
156 |
are performing a DNS lockup. |
above which action is triggered. As in the example above, an alert is |
157 |
|
sent when greater than 25% of the Apache child processes are performing |
158 |
<p>The exception to this rule is when monitoring idle servers waiting |
a DNS lockup. |
159 |
for a connection. In this case it is much more useful to be alerted if |
|
160 |
there are too few free servers, so the action is triggered when the |
<p>The exception to this rule is when monitoring idle servers waiting |
161 |
measured level is below the percentage limit. |
for a connection. In this case it is much more useful to be alerted |
162 |
|
if there are too few free servers, so the action is best triggered |
163 |
|
when the measured level is less than the percentage limit. |
164 |
|
|
165 |
<li><h3>What happens when the server is close to collapse?</h3> |
<li><h3>What happens when the server is close to collapse?</h3> |
166 |
|
|