monit-dev
[Top][All Lists]
Advanced

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

monit validate.c event.c


From: Jan-Henrik Haukeland
Subject: monit validate.c event.c
Date: Mon, 14 Jul 2003 21:01:22 -0400

CVSROOT:        /cvsroot/monit
Module name:    monit
Branch:         
Changes by:     Jan-Henrik Haukeland <address@hidden>   03/07/14 21:01:22

Modified files:
        .              : validate.c event.c 

Log message:
        Moved event logic from validate into new event handlers in event.c
        (This is the proper way, validate should fire events and the event
        handler should handle the event) Note device and resource code in
        validate should also do the same.
        
        Notice also that the optional message sent in an event is logged
        in the event handler. This means that code in validate should be
        rewritten and does not have to log just write the proper message
        for the event and the event handler will take care of the logging.

CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/monit/monit/validate.c.diff?tr1=1.48&tr2=1.49&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/monit/monit/event.c.diff?tr1=1.3&tr2=1.4&r1=text&r2=text





reply via email to

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