/[monit]/monit/UPGRADE.txt
ViewVC logotype

Contents of /monit/UPGRADE.txt

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Fri Jun 20 16:55:08 2003 UTC (20 years, 10 months ago) by chopp
Branch: MAIN
File MIME type: text/plain
- Upgrade guide added

1 How to Upgrade Monit
2 --------------------
3
4 @author Christian Hopp, <chopp@iei.tu-clausthal.de>
5 @version \$Id: $
6
7 This document describes how to change the configuration files of monit
8 in case monit is upgraded. Further changes and addition are described
9 in CHANGES.txt.
10
11 From monit 3.2 to monit 4.0:
12 ===========================
13
14 * The DEPENDS statement has been changed. The services are from now
15 on comma separated:
16
17 Old syntax: DEPENDS service [service [...]]
18
19 New syntax: DEPENDS service[, service [,...]]
20
21
22 * Monit 4.0 supports file, device and directory checks in addition to
23 process checks. Thus, the CHECK statement has been changed:
24
25 Old syntax: CHECK servicename
26
27 New syntax: CHECK [PROCESS|DEVICE|DIRECTORY|FILE] servicename
28
29 The old CHECK syntax without "PROCESS" token is still usable but
30 depreciated. Future versions might not support it anymore.
31
32
33
34 * The CPU and memory check syntax has been simplified. The new syntax
35 has only the tokens CPU and MEM:
36
37
38 Old syntax: CPUUSAGE value [cycles] action
39 MEMUSAGE value [cycles] action
40 MEMKBYTE value [cycles] action
41
42 New syntax: CPU operator value unit [cycles] action
43 MEM operator value unit [cycles] action
44
45 The "operator" token is still a choice of {<|>|==|!=} or in words
46 {less|greater|equal|notequal}; value is a choice of an integer
47 number or a real number (using a dot); unit is {%|PERCENT} for CPU
48 and a choice of {%|B|KB|MB|GB} or in words {PERCENT|BYTE|KILOBYTE|
49 MEGABYTE|GIGABYTE}; "cycles" refers still the number of cycles the
50 statement has to be true in order to start the "action". Example:
51
52 MEM > 2.5 MB 5 RESTART
53 MEM > 25% 3 RESTART
54
55 The old syntax using CPUUSAGE, MEMUSAGE, MEMKBYTE is obsolete and
56 no longer supported.
57
58
59 * $PROGRAM tag of statement mail-format was renamed to $SERVICE
60 without changing its meaning. $PROGRAM is still usable but
61 depreciated. Future versions might not support it anymore.
62
63

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26