monit-general
[Top][All Lists]
Advanced

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

Re: No alerts at certain times


From: Martin Pala
Subject: Re: No alerts at certain times
Date: Mon, 26 Sep 2011 14:22:43 +0200

Hello,

you can suppress the events for manual actions by setting the alert filter like this:

    set alert address@hidden but not on { action }

See Monit manual for more details.

Regards,
Martin


On Sep 25, 2011, at 2:20 PM, Nestor Urquiza wrote:

Hello,

We use monit not only to monitor services but as the controlled way to stop and start services. That is a feature we use when performing replication: we stop some services, replicate then start them again.

It would be ideal that we could say for instance:

monit --no-alerts stop apache
monit --no-alerts start apache

This feature would be useful for the sysadmin willing to use monit to troubleshoot something without touching config file nor receiving alerts for events well known to be happening. 

Does this request make sense? Should I open a feature request? Is there a better way to achieve this without a feature request? 

Thanks!
-Nestor
--
To unsubscribe:
https://lists.nongnu.org/mailman/listinfo/monit-general


reply via email to

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