8 |
|
|
9 |
<h2>Manual</h2> |
<h2>Manual</h2> |
10 |
|
|
11 |
<p>Updated for release 4.5 |
<p>Updated for release 4.5.1 |
12 |
|
|
13 |
|
|
14 |
<p><a name="__index__"></a></p> |
<p><a name="__index__"></a></p> |
226 |
will also disable monitoring of all services that |
will also disable monitoring of all services that |
227 |
depends on this service.</p> |
depends on this service.</p> |
228 |
<p><strong>status</strong> |
<p><strong>status</strong> |
229 |
Print status information for each service.</p> |
Print full status information for each service.</p> |
230 |
|
<p><strong>summary</strong> |
231 |
|
Print short status information for each service.</p> |
232 |
<p><strong>reload</strong> |
<p><strong>reload</strong> |
233 |
Reinitialize a running monit daemon, the daemon will |
Reinitialize a running monit daemon, the daemon will |
234 |
reread its configuration, close and reopen log files.</p> |
reread its configuration, close and reopen log files.</p> |
1401 |
<p><strong>proto(col):PROTO {protocols}</strong>. Optionally specify the protocol |
<p><strong>proto(col):PROTO {protocols}</strong>. Optionally specify the protocol |
1402 |
monit should speak when a connection is established. At the |
monit should speak when a connection is established. At the |
1403 |
moment monit knows how to speak <em>HTTP</em>, <em>SMTP</em>, <em>FTP</em>, <em>POP</em>, |
moment monit knows how to speak <em>HTTP</em>, <em>SMTP</em>, <em>FTP</em>, <em>POP</em>, |
1404 |
<em>IMAP</em>, <em>NTP3</em>, <em>NNTP</em>, <em>SSH</em>, <em>DWP</em>, <em>LDAP2</em>, <em>LDAP3</em>, |
<em>IMAP</em>, <em>MYSQL</em>, <em>NTP3</em>, <em>NNTP</em>, <em>SSH</em>, <em>DWP</em>, <em>LDAP2</em>, <em>LDAP3</em>, |
1405 |
<em>RDATE</em> and <em>RSYNC</em> and if you have compiled monit with ssl |
<em>RDATE</em>, <em>DNS</em> and <em>RSYNC</em> and if you have compiled monit with ssl |
1406 |
support, monit can also speak <em>HTTPS</em>, <em>FTPS</em>, <em>POPS</em> and |
support, monit can also speak <em>HTTPS</em>, <em>FTPS</em>, <em>POPS</em> and |
1407 |
<em>IMAPS</em>. If the server's protocol is not found in this list, |
<em>IMAPS</em>. If the server's protocol is not found in this list, |
1408 |
simply do not specify the protocol and monit will utilize a |
simply do not specify the protocol and monit will utilize a |
1583 |
If you want to connect with udp, you can specify this after the |
If you want to connect with udp, you can specify this after the |
1584 |
port-statement;</p> |
port-statement;</p> |
1585 |
<pre> |
<pre> |
1586 |
if failed port 53 type udp then alert</pre> |
if failed port 53 type udp protocol dns then alert</pre> |
1587 |
<p>Monit will stop trying to connect to the port after 5 seconds and |
<p>Monit will stop trying to connect to the port after 5 seconds and |
1588 |
assume that the server behind the port is down. You may increase |
assume that the server behind the port is down. You may increase |
1589 |
or decrease the connect timeout by explicit add a connection |
or decrease the connect timeout by explicit add a connection |
2260 |
server has to deliver. |
server has to deliver. |
2261 |
proto(col) This keyword specifies the type of service |
proto(col) This keyword specifies the type of service |
2262 |
found at the port. monit knows at the moment |
found at the port. monit knows at the moment |
2263 |
how to speak HTTP, SMTP, FTP, POP, IMAP, NNTP, |
how to speak HTTP, SMTP, FTP, POP, IMAP, MYSQL, |
2264 |
SSH, DWP, LDAP2, LDAP3, RDATE, NTP3 and RSYNC. |
NNTP, SSH, DWP, LDAP2, LDAP3, RDATE, NTP3, DNS and |
2265 |
You're welcome to write new protocol test modules. |
RSYNC. You're welcome to write new protocol test |
2266 |
If no protocol is specified monit will use a def- |
modules. If no protocol is specified monit will |
2267 |
ault test which in most cases are good enough. |
use a def- ault test which in most cases are good |
2268 |
|
enough. |
2269 |
request Specifies a server request and must come |
request Specifies a server request and must come |
2270 |
after the protocol keyword mentioned above. |
after the protocol keyword mentioned above. |
2271 |
- for http it can contain an URL and an |
- for http it can contain an URL and an |
2456 |
check process named with pidfile /var/run/named.pid |
check process named with pidfile /var/run/named.pid |
2457 |
start program = "/etc/init.d/named start" |
start program = "/etc/init.d/named start" |
2458 |
stop program = "/etc/init.d/named stop" |
stop program = "/etc/init.d/named stop" |
2459 |
if failed port 53 use type udp then restart |
if failed port 53 use type udp protocol dns then restart |
2460 |
if 3 restarts within 5 cycles then timeout |
if 3 restarts within 5 cycles then timeout |
2461 |
alert bofh@norid.no</pre> |
alert bofh@norid.no</pre> |
2462 |
<p>The following example illustrate how to check if the service |
<p>The following example illustrate how to check if the service |
3049 |
<h1><a name="see_also">SEE ALSO</a></h1> |
<h1><a name="see_also">SEE ALSO</a></h1> |
3050 |
<p>GNU text utilities; md5sum(1); sha1sum(1); openssl(1); <code>glob(7)</code></p> |
<p>GNU text utilities; md5sum(1); sha1sum(1); openssl(1); <code>glob(7)</code></p> |
3051 |
|
|
|
|
|
|
|
|
3052 |
<?php include '../include/footer.html'; ?> |
<?php include '../include/footer.html'; ?> |