[Top][All Lists]

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

Re: silent option for command line

From: Martin Pala
Subject: Re: silent option for command line
Date: Wed, 16 Mar 2011 15:16:15 +0100

Hi Aleksander,

the idea behind sending event when command was called manually is, that it may 
have unplanned side effects, so if you store the action event after which you 
see the failed event for other services, you can see the culprit quickly.

In M/Monit it is possible to set the host to "ignored" state in the host admin 
page, in which case all events will be dropped ... after the work is finished, 
you can set it back to "active" to process events again.

In Monit it is possible to disable the alert on action in monit with the mail 
filter like this:
alert address@hidden but not on { action }

Best regards,

PNG image

On Mar 8, 2011, at 12:49 PM, Kamenik, Aleksander wrote:

> Hi,
> I'd appreciate a silent option for the command line monit client, which would 
> tell monit and m/monit not to send an alert.
> It would be useful for monitor, unmonitor, restart etc commands when doing 
> manual maintenance and in nightly scripts.
> 'monit unmonitor all' is especially spammy for example. However 'monit -S 
> unmonitor all' would be completely silent.
> Furthermore I don't see why manually issued commands should send alerts at 
> all. I'd probably create an alias monit="monit -S" anyway.
> Anyone agree, disagree?
> Regards,
> Aleksander Kamenik
> System Administrator
> Krediidiinfo AS
> an Experian Company
> Phone: +372 665 9649
> Email: address@hidden
> --
> To unsubscribe:

reply via email to

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