- changed status to resolved
Document log message format or implement custom log message formatting
Issue #141
resolved
I'm trying to work around the limitation of only one action per "if does not exist" test by using the restart action and using an external log checker to parse the monit log messages and reformat them to a custom format used by our network monitoring system.
Please document for monit log messages format so that I can build a comprehensive regex to match
OR
Implement custom log message formatting. I understand that the alert messages are customizable, but don't see any way to customize monit's log file output.
Comments (1)
-
repo owner - Log in to comment
The format for the logfile is:
for example:
We have also added support for multiple "if does not exist" tests to the development version of Monit (will be part of next release).