5 |
|
|
6 |
=head1 NAME |
=head1 NAME |
7 |
|
|
8 |
monit - system for monitoring services |
monit - utility for monitoring services on a Unix system |
9 |
|
|
10 |
|
|
11 |
=head1 SYNOPSIS |
=head1 SYNOPSIS |
15 |
|
|
16 |
=head1 DESCRIPTION |
=head1 DESCRIPTION |
17 |
|
|
18 |
B<monit> is a utility for monitoring and managing services on a |
B<Monit> is a utility for monitoring and managing processes, |
19 |
Unix system. It will execute appropriate actions if the monitored |
files, directories and devices on a Unix system. Monit conducts |
20 |
services should entered an erroneous state. |
automatic maintenance and repair and can execute meaningful |
21 |
|
causal actions in error situations. E.g. monit can start a |
22 |
The monit utility can run in a daemon mode to repeatedly poll one |
process if it does not run, restart a process if it does not |
23 |
or more monitored services at a specified interval. |
respond and stop a process if it use to much resources. You may |
24 |
|
use monit to monitor files, directories and devices for changes, |
25 |
|
such as timestamps changes, checksum changes or size changes. |
26 |
|
|
27 |
|
Monit is controlled via an easy to configure control file based |
28 |
|
on a free-format, token-oriented syntax. Monit logs to syslog or |
29 |
|
to its own log file and notifies you about error conditions via |
30 |
|
customizable alert messages. Monit can perform various TCP/IP |
31 |
|
network checks, protocol checks and can utilize SSL for such |
32 |
|
checks. Monit provides a HTTP(S) interface and you may use a |
33 |
|
browser to access the monit program. |
34 |
|
|
35 |
|
|
36 |
=head1 GENERAL OPERATION |
=head1 GENERAL OPERATION |
1083 |
B<proto(col)> optionally specify the protocol monit should speak |
B<proto(col)> optionally specify the protocol monit should speak |
1084 |
when a connection is established. At the moment monit knows how |
when a connection is established. At the moment monit knows how |
1085 |
to speak I<HTTP>, I<SMTP>, I<FTP>, I<POP>, I<IMAP>, I<NNTP>, |
to speak I<HTTP>, I<SMTP>, I<FTP>, I<POP>, I<IMAP>, I<NNTP>, |
1086 |
I<SSH>, I<DWP>, I<LDAP2>, I<LDAP3> and I<RDATE> and if you have |
I<SSH>, I<DWP>, I<LDAP2>, I<LDAP3>, I<RDATE> and I<RSYNC> and if |
1087 |
compiled monit with ssl support, monit can also speak I<HTTPS>, |
you have compiled monit with ssl support, monit can also speak |
1088 |
I<FTPS>, I<POPS> and I<IMAPS>. If the server's protocol is not |
I<HTTPS>, I<FTPS>, I<POPS> and I<IMAPS>. If the server's protocol |
1089 |
found in this list, simply do not specify the protocol and monit |
is not found in this list, simply do not specify the protocol and |
1090 |
will utilize a default test, including testing if it is possible |
monit will utilize a default test, including testing if it is |
1091 |
to read and write to the port. This default test is in many cases |
possible to read and write to the port. This default test is in |
1092 |
more than good enough to deduce if the server behind the port is |
many cases more than good enough to deduce if the server behind |
1093 |
up or not. The protocol statement is: |
the port is up or not. The protocol statement is: |
1094 |
|
|
1095 |
[PROTO(COL) {name} [REQUEST {"/path"}]] |
[PROTO(COL) {name} [REQUEST {"/path"}]] |
1096 |
|
|
2135 |
proto(col) This keyword specifies the type of service |
proto(col) This keyword specifies the type of service |
2136 |
found at the port. monit knows at the moment |
found at the port. monit knows at the moment |
2137 |
how to speak HTTP, SMTP, FTP, POP, IMAP, NNTP, |
how to speak HTTP, SMTP, FTP, POP, IMAP, NNTP, |
2138 |
SSH, DWP, LDAP2, LDAP3 and RDATE. You're welcome |
SSH, DWP, LDAP2, LDAP3, RDATE and RSYNC. You're |
2139 |
to write new protocol test modules. If no |
welcome to write new protocol test modules. If |
2140 |
protocol is specified monit will use a default |
no protocol is specified monit will use a def- |
2141 |
test which in most cases are good enough. |
ault test which in most cases are good enough. |
2142 |
request Specifies a server request and must come |
request Specifies a server request and must come |
2143 |
after the protocol keyword mentioned above. |
after the protocol keyword mentioned above. |
2144 |
- for http it can contain an URI and an |
- for http it can contain an URI and an |