Re: Send status notifications

2018-06-17 Thread Lutz Mader
Hello Martin, I sent some time to have a look to the Monit wiki and the only way I find to send "action" notifications (or not) is the "alert" rule. set alert your-name@your.domain on { instance, action } > The notification should be send even with manual action, provided you didn't > filter

Re: Send status notifications

2018-06-16 Thread Lutz Mader
Hello Martin, the used rules are for problems/anomalies only. I am not aware of the capability to define rules for actions as well. I thought the action event is form Monit internal use only. How to override the action handling to add a script. With regards, Lutz > Hello Lutz, > > the CLI

Re: Send status notifications

2018-06-16 Thread mart...@tildeslash.com
t anomalies (process stopped/died whereas it should be running). The notification should be send even with manual action, provided you didn't filter out the "action" event. Best regards, Martin > On 16 Jun 2018, at 12:41, Lutz Mader wrote: > > Hello Tildeslash, > I try to sen

Send status notifications

2018-06-16 Thread Lutz Mader
Hello Tildeslash, I try to send status notifications to a central system, this works well all the time an application stopped by an failure or get some problems. But all the time I use "monit stop" to stop an application I got no notification, the script will not called by Moni