monit-dev
[Top][All Lists]
Advanced

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

Re: event engine patch update


From: Martin Pala
Subject: Re: event engine patch update
Date: Wed, 24 Mar 2004 23:14:23 +0100
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040312 Debian/1.6-3

Yes :)

In the attachment is version for current cvs sources. In addition to last mentioned patch it fixes compile time warning for deprecated usage of casted expression as lvalue in net.c (not related to event engine refactoring).

I don't know any refactoring related bug currently - it seems that it works well (but it still needs further testing). I think the patch is ready for checkout.

---
Notes:

1.) The behavior of timestamp, uid, gid and checksum changed: these tests don't reset the expected value after failure, but continue to monitor the state. "up" event is sent as soon as the value is recovered (e.g. it corresponds to the configuration).


2.) Monit now reports default actions for general events: EVENT_DATA, EVENT_EXEC, EVENT_INVALID, EVENT_NONEXIST, EVENT_TIMEOUT. It is possible to extent the parser to allow change of default behavior (present monit version doesn't allow to change the behavior, so you can't choose what to do for example in the case that device is not readable - current default is to restart service).


Martin



Jan-Henrik Haukeland wrote:
Martin Pala <address@hidden> writes:


Changes:

- fixed checksum test
- fixed uid test
- fixed gid test
- parser simplification
- update comments (i hope they are easier to understand now :)


Just to understand, is this the final patch including basically
everything you have refactored/implemented? Or do I need to look at
other patches you sent? :-)


Attachment: event_handling.patch-20040324-01.gz
Description: application/gzip


reply via email to

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