Hello, monit doesn't allow to catch the 'action' event - it is triggered as part of start/stop/restart/unmonitor/monitor action, i.e. if you need to call some script if one of these occurred, it should be part of the start/stop/restart method definition.
M/Monit allows to define a rule even 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 (mail) alert statement is the only place to do this, I think. > > But scripts can't called, based on a "action" event (like > monitor/start/stop/etc.). > How to do this with Monit. > > Thanks for any help, > with regards, > Lutz > > Schon gewusst?! Neben dem E-Mail-Postfach bietet freenet.de auch eine > INTEGRIERTE CLOUD-LĂ–SUNG MIT 3 GB SPEICHER und das alles KOMPLETT > KOSTENFREI. > https://email.freenet.de/index.html > [https://email.freenet.de/index.html?utm_medium=Mail%20Basic&utm_source=Mailfooter&utm_campaign=Footer%20A&epid=e9900000927&utm_content=Link] > > > -- > To unsubscribe: > https://lists.nongnu.org/mailman/listinfo/monit-general
-- To unsubscribe: https://lists.nongnu.org/mailman/listinfo/monit-general