Looks good by me, +1. Using one file per event in a directory seems
like an okay solution and avoid excessive memory usage. Using only
the state file would be nice, but I can see how that would be awkward
and troublesome for handling all events.
On 4. nov. 2005, at 11.20, Martin Pala wrote:
Hi,
here is new version of the event queue implementation which uses
disk backend for the queue.
To enable the event queue, it is needed to add to the control file
the 'set eventqueue' statement.
Example:
set eventqueue
basedir /var/monit
slots 100
The 'slots' option is optional and if used, monit will limit the
queue size, otherwise there is no limit (just the storage capacity).
The patch also adds the notification when monit was started/stopped/
reloaded.
May i add it to the cvs?
Martin
<internal_events_and_queue_20051104-03.patch>
_______________________________________________
monit-dev mailing list
monit-dev@nongnu.org
http://lists.nongnu.org/mailman/listinfo/monit-dev
--
Jan-Henrik Haukeland
Mobil +47 97141255
_______________________________________________
monit-dev mailing list
monit-dev@nongnu.org
http://lists.nongnu.org/mailman/listinfo/monit-dev