- changed status to resolved
Allow passing of variables to exec
Issue #452
resolved
It's possible to customise messages using set mail-format and pass variables such as $DATE and $DESCRIPTION in the email.
It would be great if a similar option was available in the IF [x] THEN EXEC "/script.sh $DATE $DESCRIPTION", as it would allow to pass more details to the script executed.
Comments (1)
-
repo owner - Log in to comment
see https://mmonit.com/monit/documentation/monit.html#ENVIRONMENT