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

Diff of /monit/CHANGES.txt

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

revision 1.86 by hauk, Sun Sep 7 19:00:40 2003 UTC revision 1.87 by martinp, Sun Sep 7 19:19:08 2003 UTC
# Line 4  Line 4 
4    
5  Version 4.0  Version 4.0
6    
7  *  Support for device checks. In addition to common options Monit is  BUGFIXES:
8     able to watch permission, owner's uid and gid, space and inodes and  *  Monit now closes all file descriptors before spawning a child
9     execute customized actions in case of a problem. See the manual for     processes. There was a problem with open file descriptors inherited
10     the new syntax.     by processes started under monit's control. Thanks to Peter
11       Holdaway <pholdaway@technocom-wireless.com> for reporting the
12  *  Support for file checks. In addition to common options, Monit is     problem.
    able to watch checksum, permission, owner's uid and gid and file  
    size. See the manual for the new syntax.  
   
 *  Support for directory checks. In addition to common options, Monit  
    is able to watch permission and owner's uid and gid. See the manual  
    for the new syntax.  
   
 *  Support for remote host checks. A new check service entry was added  
    to allow monitoring of remote host services. See the manual for the  
    new syntax.  
   
 *  All service tests, such as timestamp, resource and checksum  
    statements now supports an optional exec statement. The exec  
    statement is used to execute an arbitrary program as an action if  
    the test validates to true.  For instance to reload apache if the  
    httpd.conf file was changed:  
      check file httpd.conf with path /usr/local/apache/conf/httpd.conf  
            if timestamp was changed  
               then exec "/etc/init.d/apachectl graceful"  
   
 *  A new 'monitor' action was added to explicit enable service  
    monitoring. This can be used to re-enable monitoring if a service  
    timed out or was stopped or start monitoring a service in manual  
    mode. Dependency relationships are also supported - all services  
    which this service depends on are also set in monitored mode before  
    starting monitoring of this service. You can also enable or disable  
    service monitoring from the console or from the web interface.  
   
 *  A new 'unmonitor' action was added to explicit allow monitoring  
    disabling. This can be used to disable monitoring of services (aka  
    bring it to maintenance mode), etc. Dependency relationships are  
    also supported.  
   
 *  The syntax of resource monitoring has changed. "CPUUSAGE",  
    "MEMUSAGE", "MEMKBYTE" is dropped in favor of the unit based  
    "MEM" and "CPU" commands.  Please consult the man page for  
    details.  
   
 *  The service names are no longer restricted by reserved names.  
    Due to this, the syntax of DEPENDS was changed.  
13    
14  *  Resource monitoring can be turned off in the configure stage.  *  This release fixes a problem with alert messages and qmail. Qmail
15       complained about bare line feeds in some alert messages. Monit does
16       not send alert message with bare line feeds anymore. Thanks to Rail
17       Aliev <rail@iqchoice.com>
18    
19  *  This release introduces AIX and OpenBSD support and generic  *  Fixed the bug that did not report actions on a service unless a
20     support for unknown operating systems. Thanks to Richard     start statement was defined for the service. Now it is possible get
21     Schwaninger <risc@vmilch.at> and Margarida Sequeira     notification via email if a service died, even if you did not
22     <margarida@openbsd.org>     include any start statement. For instance, this is now a complete
23       statement and will, report if the service apache should die:
24        check process apache with pidfile /usr/local/apache/logs/httpd.pid
25        alert foo@bar.baz
26    
27  *  HP/UX support brought to the same state like all other operating  *  Fixed a bug in the lexer that required the start and stop statement
28     systems.     to use SPACE '=' "/<path> argument" when arguments was used. The
29       start and stop statement can now be written as:
30         start "/<path>/program start" if you want to.
31    
32  *  Resource monitoring now checks the number of child processes and  *  Checksum statement bug fix. Previous versions compared only
33     the total memory of a process and it's children.     first 31 characters of 32 possible.
34    
35  *  This release utilize a state file to save significant process data.  *  This release utilize a state file to save significant process data.
36     This allows data to be persistent and survive a monit reload and     This allows data to be persistent and survive a monit reload and
37     let monit recover from a crash and pick up without losing the     let monit recover from a crash and pick up without losing the
38     process state.     process state.
39    
40  *  The start and stop statement is extended with an optional part to  INCOMPATIBLE EXTENSIONS AND CHANGES (ORIGINAL SYNTAX CHANGED):
41     be able to run the program as a specified user and with a specified  *  The service names are no longer restricted by reserved names.
42     group id. This extension can only be used if the super-user is     Due to this, the syntax of DEPENDS was changed.
    running monit.  
   
 *  It is possible to set message facility in the case that monit logs  
    via syslog.  
   
 *  Fixed monit rc script and monit.spec  
   
 *  Monit now reports the complete start/stop command (previous version  
    reported only the first argument).  
   
 *  The $PROGRAM tag in the mail-format statement was renamed to  
    $SERVICE. The meaning is the same - it is replaced by the name of  
    the monitored service, but compared to previous versions these  
    services can now be either program, device, directory or file. The  
    $PROGRAM tag is still supported for backward compatibility, but use  
    of $SERVICE is highly recommended because it is more relevant.  
   
 *  Gracefully unbind of requests added to LDAPv2 and LDAPv3 tests  
   
 *  The command line arguments start, stop and restart needs a  
    following 'all' from this release on to start/stop/restart *all*  
    programs in the control file. For instance 'monit stop all'. This  
    is done to avoid that an accidentally user input error should stop  
    every monitored service at once.  
     
 *  Fixed a bug in the lexer that required the start and stop statement  
    to use SPACE '=' "/<path> argument" when arguments was used. The  
    start and stop statement can now be written as:  
      start "/<path>/program start" if you want to.  
   
 *  Fixed the bug that did not report actions on a service unless a  
    start statement was defined for the service. Now it is possible get  
    notification via email if a service died, even if you did not  
    include any start statement. For instance, this is now a complete  
    statement and will, report if the service apache should die:  
     check process apache with pidfile /usr/local/apache/logs/httpd.pid  
     alert foo@bar.baz  
43    
44  *  Monit now closes all file descriptors before spawning a child  *  The syntax of resource monitoring has changed. "CPUUSAGE",
45     processes. There was a problem with open file descriptors inherited     "MEMUSAGE", "MEMKBYTE" is dropped in favor of the unit based
46     by processes started under monit's control. Thanks to Peter     "MEM" and "CPU" commands.  Please consult the man page for
47     Holdaway <pholdaway@technocom-wireless.com> for reporting the     details.
    problem.  
48    
49  *  This release supports a native RDATE test. Thanks to Francois  *  The syntax for the checksum statement has changed so the statement
50     Isabelle <Francois.Isabelle@ca.kontron.com>     is a real IF-THEN statement. An example of a valid checksum
51       statement: "if failed checksum then stop". The old syntax version
52       is obsolete.
53    
54  *  This release supports a native RSYNC test. Thanks to Igor Homyakov  *  The syntax for the timeout statement has changed so the statement
55     <homyakov@ramax.spb.ru>.     is a real IF-THEN statement. An example of a valid timeout
56       statement is:
57         if 2 restarts within 3 cycles then timeout
58       The old syntax version, e.g. timeout(2, 3) still works but is
59       deprecated and future releases may remove this version.
60    
61  *  This release fixes a problem with alert messages and qmail. Qmail  *  This release changes the port statement to explicit require an
62     complained about bare line feeds in some alert messages. Monit does     action to be executed upon a failed connection test. The port
63     not send alert message with bare line feeds anymore. Thanks to Rail     statement has also been extended to include an optional socket
64     Aliev <rail@iqchoice.com>     connection timeout.
65    
66  *  The checksum statement is now restricted to a check file service  *  The checksum statement is now restricted to a check file service
67     entry. Usage of this statement in a check process service is     entry. Usage of this statement in a check process service is
# Line 142  Version 4.0 Line 78  Version 4.0
78     the parent check service.  See the documentation and UPGRADE.txt     the parent check service.  See the documentation and UPGRADE.txt
79     file.     file.
80    
81  *  The syntax for the checksum statement has changed so the statement  *  The command line arguments start, stop and restart needs a
82     is a real IF-THEN statement. An example of a valid checksum     following 'all' from this release on to start/stop/restart *all*
83     statement: "if failed checksum then stop". The old syntax version     programs in the control file. For instance 'monit stop all'. This
84     is obsolete.     is done to avoid that an accidentally user input error should stop
85       every monitored service at once.
86      
87    *  The $PROGRAM tag in the mail-format statement was renamed to
88       $SERVICE. The meaning is the same - it is replaced by the name of
89       the monitored service, but compared to previous versions these
90       services can now be either program, device, directory or file. The
91       $PROGRAM tag is still supported for backward compatibility, but use
92       of $SERVICE is highly recommended because it is more relevant.
93    
94    EXTENSIONS:
95    *  A new check service entry was added to allow monitoring of devices.
96       In addition to common options Monit is able to watch permission,
97       owner's uid and gid, space and inodes and execute customized actions
98       in case of a problem. See the manual for the new syntax. Example:
99         check device rootfs with path /dev/sda1
100               if space usage > 90% then alert
101               alert foo@bar
102    
103    *  A new check service entry was added to allow monitoring of files. In
104       addition to common options, Monit is able to watch checksum, permission,
105       owner's uid and gid and file size. See the manual for the new syntax.
106       Example:
107         check file database with path /data/mydatabase.db
108               if size > 100 MB then alert
109               alert foo@bar
110    
111    *  A new check service entry was added to allow monitoring of directories.
112       In addition to common options, Monit is able to watch permission and
113       owner's uid and gid. See the manual for the new syntax. Example:
114         check directory bin with path /bin
115               if failed permission 755 then alert
116               alert foo@bar
117    
118    *  A new check service entry was added to allow monitoring of remote
119       host services. See the manual for the new syntax. Example:
120         check host ftp.redhat.com
121               if failed port 21 protocol ftp then alert
122               alert foo@bar
123    
124    *  Resource monitoring now checks the number of child processes and
125       the total memory of a process and it's children.
126    
127    *  The start and stop statement is extended with an optional part to
128       be able to run the program as a specified user and with a specified
129       group id. This extension can only be used if the super-user is
130       running monit.
131    
132  *  The timestamp statement is extended to check for file and directory  *  The timestamp statement is extended to check for file and directory
133     changes. You can now use the timestamp statement to get an alert if     changes. You can now use the timestamp statement to get an alert if
134     a file was changed. For instance:     a file was changed. Note: The timestamp does only test the last
135       modified stamp not if the content of the file was changed. Use the
136       checksum statement for this. Example:
137       check file passwd with path /etc/passwd       check file passwd with path /etc/passwd
138             if timestamp was changed then alert             if timestamp was changed then alert
    The timestamp does only test the last modified stamp not if the  
    content of the file was changed. Use the checksum statement for  
    this.  
139    
140  *  This release changes the port statement to explicit require an  *  A new 'exec' action was added for all service test types (such as
141     action to be executed upon a failed connection test. The port     the timestamp, resource, checksum, space, etc.) The exec statement
142     statement has also been extended to include an optional socket     is used to execute an arbitrary program as an action if the test
143     connection timeout.     validates to true. It is possible to run this program optionaly as
144       a specified user and with a specified group id. See manual for the
145       new syntax. For instance to reload apache if the httpd.conf file
146       was changed:
147         check file httpd.conf with path /usr/local/apache/conf/httpd.conf
148               if timestamp was changed
149                  then exec "/etc/init.d/apachectl graceful"
150    
151  *  Checksum statement bug fix. Previous versions compared only  *  A new 'unmonitor' action and command was added to explicit allow
152     first 31 characters of 32 possible.     monitoring disabling. This can be used to disable monitoring of
153       services (aka bring it to maintenance mode), etc. Dependency
154       relationships are also supported.
155    
156  *  The syntax for the timeout statement has changed so the statement  *  A new 'monitor' command was added to explicit enable service
157     is a real IF-THEN statement. An example of a valid timeout     monitoring. This can be used to re-enable monitoring if a service
158     statement is:     timed out or was stopped or start monitoring a service in manual
159       if 2 restarts within 3 cycles then timeout     mode. Dependency relationships are also supported - all services
160     The old syntax version, e.g. timeout(2, 3) still works but is     which this service depends on are also set in monitored mode before
161     deprecated and future releases may remove this version.     starting monitoring of this service. You can also enable or disable
162       service monitoring from the console or from the web interface.
163    
164    *  It is possible to set message facility in the case that monit logs
165       via syslog.
166    
167    *  This release supports a native RDATE test. Thanks to Francois
168       Isabelle <Francois.Isabelle@ca.kontron.com>
169    
170    *  This release supports a native RSYNC test. Thanks to Igor
171       Homyakov <homyakov@altlinux.ru>
172    
173  *  Monit can be compiled with dietlibc and uClibc from now on. Using  *  Monit can be compiled with dietlibc and uClibc from now on. Using
174     dietlibc it possible to use SSL; SSL support with uClibc is     dietlibc it possible to use SSL; SSL support with uClibc is
175     untested.  For build instructions refer to to the documentation of     untested.  For build instructions refer to to the documentation of
176     these libraries.     these libraries.
177    
178    *  Gracefull unbind requests added to LDAPv2 and LDAPv3 tests
179    
180    *  Monit now reports the complete start/stop command (previous version
181       reported only the first argument).
182    
183    *  Resource monitoring can be turned off in the configure stage of
184       compilation.
185    
186    *  Fixed monit rc script and monit.spec
187    
188    *  This release introduces AIX and OpenBSD support and generic
189       support for unknown operating systems. Thanks to Richard
190       Schwaninger <risc@vmilch.at> and Margarida Sequeira
191       <margarida@openbsd.org>
192    
193    *  HP/UX support brought to the same state like all other operating
194       systems.
195    
196    
197  Version 3.2  Version 3.2
198    

Legend:
Removed from v.1.86  
changed lines
  Added in v.1.87

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