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 start

Re: Send status notifications

2018-06-16 Thread mart...@tildeslash.com
Hello Lutz, the CLI start/stop/restart/monitor/unmonitor action event is called "action" (stands for "user action") ... there is no rule in your configuration file for this event type which would trigger the script. The rules in your configuration file will catch just anomalies (process stoppe

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 Monit. I used the follo