- changed status to resolved
Allow common directory for eventqueue, statefile, and idfile
I have a configuration where idfile and statefile are located in /var/lib/monit. When I try to use /var/lib/monit as eventqueue directory, monit complains about the idfile and statefile not being valid eventqueue files ("skipping queued event ... - unknown data format"). I'd like to avoid an extra directory for the event queue. An obvious fix would be to use (and document) some prefix for the event files, and use only those. In my simple understanding a pattern like "event-%08u" would not add any restrictions on the number of pending event messages.
Comments (4)
-
repo owner -
repo owner - removed version
Removing version: 5.16 (automated comment)
-
reporter Monit-5.18 still logs at info level confusing messages like: Processing queued event /var/lib/monit/monit.id
"monit.id" is the idfile, not a queued event.
-
repo owner fix Issue
#354: switch "Processing queued event ..." into debug level→ <<cset 98bc45a5b42d>>
- Log in to comment
Fix Issue
#354: If eventqueue directory contains also other files (like monit state file), monit will not log error anymore (just warning when debug mode is enabled).→ <<cset 6b3a1a1e6f9d>>