Re: Notifications based on action events

2018-06-29 Thread Lutz Mader
Hello Martin, thanks for the hint and the screen shot. > M/Monit allows to define a rule even for the 'action' event: At the time I use monit to send all notification. To add the notification code to the start/stop/restart scripts is not an option and can't handle monitor/unmonitor besides.

Re: Notifications based on action events

2018-06-29 Thread mart...@tildeslash.com
for the 'action' event: Best regards, Martin > On 26 Jun 2018, at 18:39, lutz.ma...@freenet.de wrote: > > Hello Martin, > you advise me to send notifications based on "action" events. > I can't find any way in Monit to define/use "action" events, > the (m

Notifications based on action events

2018-06-26 Thread lutz . mader
Hello Martin, you advise me to send notifications based on "action" events. I can't find any way in Monit to define/use "action" events, the (mail) alert statement is the only place to do this, I think. But scripts can't called, based on a "action" event (like monit