monit-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

monit monitor.h validate.c


From: Jan-Henrik Haukeland
Subject: monit monitor.h validate.c
Date: Thu, 25 Sep 2003 15:27:38 -0400

CVSROOT:        /cvsroot/monit
Module name:    monit
Branch:         
Changes by:     Jan-Henrik Haukeland <address@hidden>   03/09/25 15:27:38

Modified files:
        .              : monitor.h validate.c 

Log message:
        Refactoring: Added event_handled flag for objects used in
        IF operator TESTS. Now, if an error event was handled, i.e an
        event was posted, the object is flagged as handled. This means that
        the same test will *NOT* post an event if the test fails again. The
        event_handled flag is only reset when the test succeded.
        
        In short, this means that the following tests will only send one alert
        upon error, and not keep on sending alerts when the error persists.
        
        if mem op X
        if cpu op X
        if size op X
        if space op X
        if inode op X
        if timestamp op X
        
        uid, gid, permissions, timestamp-changed and checksum is not changed
        since they set the old value to the new when the test fails.
        
        This should compleate the "Alert limitation" item on the feature list.
        
        Ps. Martin, you forgot to add event_flag in device action (it's added)

CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/monit/monit/monitor.h.diff?tr1=1.101&tr2=1.102&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/monit/monit/validate.c.diff?tr1=1.91&tr2=1.92&r1=text&r2=text





reply via email to

[Prev in Thread] Current Thread [Next in Thread]