1 |
CHANGES version 4.5.1 |
CHANGES version 4.6 |
2 |
|
|
3 |
This file summarizes changes made since 3.0 |
This file summarizes changes made since 3.0 |
4 |
|
|
5 |
|
Version 4.6 |
6 |
|
|
7 |
|
NEW FEATURES AND FUNCTIONS: |
8 |
|
* Add support for Postfix SMTP access policy delegation protocol |
9 |
|
test. Example usage: |
10 |
|
check host policyd with address 192.168.1.5 |
11 |
|
if failed port 10031 protocol postfix-policy then alert |
12 |
|
|
13 |
|
* Support to check lines appended to files added. The feature |
14 |
|
is usable with the following statements: |
15 |
|
IF [NOT] MATCH {regex|path} THEN action |
16 |
|
IGNORE [NOT] MATCH {regex|path} |
17 |
|
Lines matching the IGNORE MATCH are not examined with further |
18 |
|
IF MATCH tests. Single extended regular expression or files |
19 |
|
containing extended regular expression can be used. In case |
20 |
|
regular expression support is not available simple substring |
21 |
|
matching is being used. |
22 |
|
|
23 |
|
* Monit now sends three icmp echo requests in one cycle by default. |
24 |
|
It is also possible to customize the echo requests count using |
25 |
|
the count parameter of icmp test, for example: |
26 |
|
check host myserver with address 192.168.1.1 |
27 |
|
if failed icmp type echo count 5 with timeout 3 seconds |
28 |
|
then alert |
29 |
|
|
30 |
|
* Monit now supports optional error notification reminder. For those |
31 |
|
who want to be notified several times that the service is still |
32 |
|
down, it is possible to specify the count of service failed cycles |
33 |
|
after which monit will send another notification. The 'reminder' |
34 |
|
option was added to local and global alert definition - example: |
35 |
|
set alert foo@bar with reminder on 10 cycles |
36 |
|
will send the error notification each tenth cycle when the service |
37 |
|
remains down. If you want to be notified each cycle, then use reminder |
38 |
|
on 1 cycle. Thanks to Pavel Urban <urbanp at mlp!cz> for suggesting |
39 |
|
the feature. |
40 |
|
|
41 |
|
* It is now possible to use the 'passed' word as alternative to the |
42 |
|
'recovered' in recovery action section. |
43 |
|
|
44 |
|
* Support for event ratio dependant actions added. It is now possible |
45 |
|
to specify how many events during how many cycles are needed |
46 |
|
to trigger the action. Both failed and passed actions may be |
47 |
|
restricted this way. The part 'X times within Y cycles' is |
48 |
|
optional - when not used, monit will act on first event (equals |
49 |
|
to '1 times within 1 cycle'). It is also possible to specify just |
50 |
|
consecutive cycles count. Example: |
51 |
|
check host foo.bar with address 192.168.1.1 |
52 |
|
if failed port 80 for 5 times within 8 cycles then exec '/my/script' |
53 |
|
else if passed for 10 cycles then alert |
54 |
|
|
55 |
|
BUGFIXES: |
56 |
|
* In the case that kvm access on FreeBSD failed (for example |
57 |
|
because of environment restricted by virtual server), process |
58 |
|
resource monitoring will be disabled. Thanks to Mike Jackson |
59 |
|
<mjackson at datahost!com> for reporting the problem. |
60 |
|
|
61 |
|
* Fixed URL connection test. Monit now really tries to download |
62 |
|
content length data from the HTTP server or if not set, up to 1 MB. |
63 |
|
Previous versions could fail to read all the data provided by |
64 |
|
the server. Thanks to Ben Hartshorne <ben at hartshorne!net> for |
65 |
|
reporting the problem. |
66 |
|
|
67 |
|
* Fixed CIDR notation of monit http interface net allow option on |
68 |
|
little endian architectures. Thanks to Ben Hartshorne <ben at |
69 |
|
hartshorne!net> for reporting the problem. |
70 |
|
|
71 |
|
* Retry the service restart in the next cycle even in the case that |
72 |
|
the stop method failed, until restart timeout limit is reached. |
73 |
|
Monit silently timeouted the service in the case that the stop |
74 |
|
method failed (just exec failed notification was send). Thanks |
75 |
|
to Pavel Urban <urbanp at mlp ! cz> for reporting the problem. |
76 |
|
|
77 |
|
* Close included config files after parsing. Previous versions of |
78 |
|
monit kept parsed include files open, which could create a problem |
79 |
|
with unmount or removal of such files. Thanks to Martin Rueegg |
80 |
|
<mrueegg at metaworx . ch> for reporting the problem. |
81 |
|
|
82 |
|
* Fix file checksum test with restart action. Thanks to Chris McKenzie |
83 |
|
( chrismckenzie at hotmail ! com ) for reporting the problem. |
84 |
|
|
85 |
|
* Wait for complete SMTP server greeting in SMTP protocol test before |
86 |
|
sending QUIT to the server. Exim4 is sensible on the client-server |
87 |
|
synchronization and the protocol test failed because monit was faster |
88 |
|
then expected. Thanks to Tadas Zelionis < tm at equs ! home ! lt > |
89 |
|
for reporting the bug. |
90 |
|
|
91 |
|
* Support the DOS end-of-line in the include statement of monit |
92 |
|
configuration file too. Thanks to Michael Shigorin <mike at osdn org ua> |
93 |
|
for reporting the problem. |
94 |
|
|
95 |
|
* Allow multi-line banner response from a SMTP server in the SMTP protocol |
96 |
|
test. Thanks to Sebastien Debrard <sebastien.debrard at strange-garden com> |
97 |
|
for reporting the problem. |
98 |
|
|
99 |
|
|
100 |
Version 4.5.1 |
Version 4.5.1 |
101 |
|
|
102 |
NEW FEATURES AND FUNCTIONS: |
NEW FEATURES AND FUNCTIONS: |
110 |
check host FOO with address ns.foo.bar |
check host FOO with address ns.foo.bar |
111 |
if failed port 53 type udp protocol dns then alert |
if failed port 53 type udp protocol dns then alert |
112 |
|
|
113 |
* Status summary support added.The 'monit summary' command can be |
* Status summary support added. The 'monit summary' command can be |
114 |
used to obtain a quick overview of services handled by monit. |
used to obtain a quick overview of services handled by monit. |
115 |
Example output: |
Example output: |
116 |
The monit daemon 4.5.1 uptime: 15m |
The monit daemon 4.5.1 uptime: 15m |