arnaudsj / monit

Monit is a free open source utility for managing and monitoring, processes, files, directories and filesystems on a UNIX system. Monit conducts automatic maintenance and repair and can execute meaningful causal actions in error situations. (unofficial mirror)
http://mmonit.com/monit/
Other
519 stars 63 forks source link

Can we have access to the alert variables such as $DESCRIPTION outside the set mail-format function? #13

Open lvpx opened 6 years ago

lvpx commented 6 years ago

Hi,

I am trying to send the alert message description into my Slack channel. I am able to call the slack script to send a message before monit takes any action. I wish to ask if there is a way I can pass alert variables such as $DESCRIPTION, $ACTION to my custom script via my Monit Control file.

Thanks.