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

Diff of /monit/UPGRADE.txt

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.4 by hauk, Mon Aug 4 12:00:28 2003 UTC revision 1.5 by martinp, Wed Aug 6 19:19:06 2003 UTC
# Line 12  From monit 3.2 to monit 4.0: Line 12  From monit 3.2 to monit 4.0:
12  ===========================  ===========================
13    
14    
15    * Checksum statement is now restricted to new file monitoring service
16      type only. Usage of this statements in process check service is obsolete
17      from this release. To test checksum for process asociated files,
18      you should use file check service and define dependency of the
19      process on this check. In addition the syntax changed:
20    
21       Old syntax: CHECKSUM path [EXPECT checksum] [path [EXPECT checksum]]+
22    
23       New syntax: CHECKSUM [EXPECT checksum]
24    
25      Old syntax example:
26    
27       #  check process apache with pidfile /usr/local/apache/logs/httpd.pid
28       #    start program = "/etc/init.d/httpd start"
29       #    stop program  = "/etc/init.d/httpd stop"
30       #    host www.tildeslash.com port 80 protocol http
31       #        and request "/monit/next.html"
32       #    checksum /usr/local/apache/bin/httpd
33       #      and expect 8f7f419955cefa0b33a2ba316cba3659
34    
35      New syntax example:
36      
37       #  check process apache with pidfile /usr/local/apache/logs/httpd.pid
38       #    start program = "/etc/init.d/httpd start"
39       #    stop program  = "/etc/init.d/httpd stop"
40       #    host www.tildeslash.com port 80 protocol http
41       #        and request "/monit/next.html"
42       #    alert sysadm@foo.bar
43       #    depends on httpd_bin
44       #
45       #  check file httpd_bin with path /usr/local/apache/bin/httpd
46       #    checksum and expect 8f7f419955cefa0b33a2ba316cba3659
47    
48    
49    
50    * Timestamp statement is now restricted to new file and directory monitoring
51      service types only. Usage of this statements in process check service is
52      obsolete from this release. To test checksum for process asociated files or
53      directory you should use file or directory check service and define
54      dependency of the process on this check. In addition the syntax changed:
55    
56       Old syntax: if TIMESTAMP path [operator] value [unit] then action
57    
58       New syntax: if TIMESTAMP [operator] value [unit] then action
59    
60                   or
61    
62                   if TIMESTAMP CHANGED then action
63    
64      Old syntax example:
65    
66       #  check process apache with pidfile /usr/local/apache/logs/httpd.pid
67       #    start program = "/etc/init.d/httpd start"
68       #    stop program  = "/etc/init.d/httpd stop"
69       #    host www.tildeslash.com port 80 protocol http
70       #        and request "/monit/next.html"
71       #    if timestamp /usr/local/etc/httpd.conf < 1 hour then restart
72    
73      New syntax example:
74      
75       #  check process apache with pidfile /usr/local/apache/logs/httpd.pid
76       #    start program = "/etc/init.d/httpd start"
77       #    stop program  = "/etc/init.d/httpd stop"
78       #    host www.tildeslash.com port 80 protocol http
79       #        and request "/monit/next.html"
80       #    alert sysadm@foo.bar
81       #    depends on httpd_conf
82       #
83       #  check file httpd_conf with path /usr/local/etc/httpd.conf
84       #    if timestamp changed then restart
85    
86    
87    
88  * The PORT statement has changed and now requires that an explicit  * The PORT statement has changed and now requires that an explicit
89    action is specified if the connection test should fail. The old    action is specified if the connection test should fail. The old
90    statement would blindly restart the service if a port connection    statement would blindly restart the service if a port connection

Legend:
Removed from v.1.4  
changed lines
  Added in v.1.5

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