So you’d have to write the logic of alerting in to the exec script? Then
the exec script would do the alerting and not m/monit? How would the
dashboard look, i.e. would it give false/positives? I’m not sure I
completely follow your logic Martin…

Thanks,

Justin


On November 15, 2016 at 07:19:54, Martin Pala ([email protected])
wrote:

Hello,

currently the time based alert rule is not implemented, we plan to add it
to M/Monit.

You can use the "exec" action with custom script instead of "alert" action
as a workaround - that script can send alerts only during given timeframe.

Best regards,
Martin



On 9 Nov 2016, at 20:13, Justin Rodino <[email protected]> wrote:

Is there a way to monitor a server 24x7x365 but only alert at certain
times? For example, there is the command

every "* 8-19 * * 1-5"

which will only monitor a service during business hours per se, but I’d
like the service to be constantly monitored, yet only send an alert during
the every window. This would be using monit and m/monit
--
To unsubscribe:
https://lists.nongnu.org/mailman/listinfo/monit-general


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

Reply via email to