[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Send status notifications

From: Lutz Mader
Subject: Re: Send status notifications
Date: Sun, 17 Jun 2018 01:51:01 +0200
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:31.0) Gecko/20100101 Thunderbird/31.6.0

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,

> 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

reply via email to

[Prev in Thread] Current Thread [Next in Thread]