180 |
<p> |
<p> |
181 |
|
|
182 |
<div style='padding-left:10px; width:100%; border:1px solid;'> |
<div style='padding-left:10px; width:100%; border:1px solid;'> |
183 |
|
<h3>Generic protocol test</h3> |
184 |
|
|
185 |
|
Support protocol testing from within the monit control file.<br> |
186 |
|
Syntax proposal: |
187 |
|
|
188 |
|
<pre> |
189 |
|
if failed port 1234 [{expect|send} "string" [{expect|send} "string"] ...] |
190 |
|
</pre> |
191 |
|
<p> |
192 |
|
For every <i>send</i> the "string" is sent through the connection (w/ |
193 |
|
or w/o ssl), and for every <i>expect</i> the return is read and |
194 |
|
matched against the "string". This feature allows for testing |
195 |
|
<b>any</b> text based protocols without having to implement a protocol |
196 |
|
C-module in monit. |
197 |
|
<p> |
198 |
|
<table style='width: 30%; border-top:1px solid;border-right:1px solid;'> |
199 |
|
<tr> |
200 |
|
<td width=50%>Responsible:</td><td width=50%>Christian</td> |
201 |
|
</tr> |
202 |
|
<tr> |
203 |
|
<td width=50%>Progress:</td> |
204 |
|
<td width=50% bgcolor="blue" align=center><b><font color=#ffffff>0%</font> |
205 |
|
</b></td> |
206 |
|
</tr> |
207 |
|
<tr> |
208 |
|
<td width=50%>Importance:</td><td width=50%>MEDIUM</td> |
209 |
|
</tr> |
210 |
|
</table> |
211 |
|
</div> |
212 |
|
|
213 |
|
<p> |
214 |
|
|
215 |
|
<div style='padding-left:10px; width:100%; border:1px solid;'> |
216 |
<h3>HTTP request returns data checksum</h3> |
<h3>HTTP request returns data checksum</h3> |
217 |
It makes sense now to implement this test, because when monit was |
It makes sense now to implement this test, because when monit was |
218 |
designed for local tests only, it was possible to checksum the page or |
designed for local tests only, it was possible to checksum the page or |
240 |
</tr> |
</tr> |
241 |
<tr> |
<tr> |
242 |
<td width=50%>Progress:</td> |
<td width=50%>Progress:</td> |
243 |
<td width=50% bgcolor="blue" align=center><b><font color=#ffffff>0%</font></b></td> |
<td width=50% bgcolor="blue" align=center><b><font color=#ffffff>0%</font> |
244 |
|
</b></td> |
245 |
</tr> |
</tr> |
246 |
<tr> |
<tr> |
247 |
<td width=50%>Importance:</td><td width=50%>MEDIUM</td> |
<td width=50%>Importance:</td><td width=50%>MEDIUM</td> |
278 |
<!-- -------------------------------------------------------------------- --> |
<!-- -------------------------------------------------------------------- --> |
279 |
|
|
280 |
<div style='padding-left:10px; width:100%; border:1px solid;'> |
<div style='padding-left:10px; width:100%; border:1px solid;'> |
281 |
|
<h3>monit HTTP authentication via htpasswd</h3> |
282 |
|
Syntax proposal: |
283 |
|
<pre> |
284 |
|
auth /path [user, ...] |
285 |
|
</pre> |
286 |
|
|
287 |
|
Where "path" is the path in the corresponding htpasswd and "user" is a |
288 |
|
user granted access. If user is omitted all users have access. |
289 |
|
<p> |
290 |
|
<table style='width: 30%; border-top:1px solid;border-right:1px solid;'> |
291 |
|
<tr> |
292 |
|
<td width=50%>Responsible:</td><td width=50%>Christian</td> |
293 |
|
</tr> |
294 |
|
<tr> |
295 |
|
<td width=50%>Progress:</td> |
296 |
|
<td width=50% bgcolor="blue" align=center><b> |
297 |
|
<font color=#ffffff>0%</font></b></td> |
298 |
|
</tr> |
299 |
|
<tr> |
300 |
|
<td width=50%>Importance:</td><td width=50%>LOW</td> |
301 |
|
</tr> |
302 |
|
</table> |
303 |
|
</div> |
304 |
|
|
305 |
|
<p> |
306 |
|
|
307 |
|
<div style='padding-left:10px; width:100%; border:1px solid;'> |
308 |
<h3>Interfaces monitoring (network, serial, ...)</h3> |
<h3>Interfaces monitoring (network, serial, ...)</h3> |
309 |
<!-- ADD DESCRIPTION HERE --> |
<!-- ADD DESCRIPTION HERE --> |
310 |
<table style='width: 30%; border-top:1px solid;border-right:1px solid;'> |
<table style='width: 30%; border-top:1px solid;border-right:1px solid;'> |