- changed status to closed
send alert with application log in the email
Issue #164
closed
Is there any option to send alert email with the n number of application log as attachment under in that server
Comments (1)
-
repo owner - Log in to comment
You can use "exec" action with custom script ... it can for example grab part of the application log and send it via mail. The script will get information about the event in environment variables with MONIT_ prefix. See Monit manual for more details:
http://mmonit.com/monit/documentation/monit.html#GENERAL-SYNTAX
http://mmonit.com/monit/documentation/monit.html#ENVIRONMENT