Re: Send status notifications
Lutz Mader <[email protected]>
| Newsgroups | gmane.comp.monitoring.monit.general |
|---|---|
| Message-ID | <[email protected]> |
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/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 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 -- To unsubscribe: https://lists.nongnu.org/mailman/listinfo/monit-general