On Tue, 19 Nov 2002, Piero Calucci wrote:
> How can I have 2 different alerts for the same event *with*different*timings*?
>
> I want sth like this:
>
> service ping
> monitor fping.monitor
> alertafter 3
> alert mail.alert someone@somewhere
> alertafter 10
> alert some-other.alert
>
> where mail.alert is called after 3 failures, while some-other alert is called only
>after 10
the squelch parameters (numalerts, alertevery, alertafter, etc.) are
independent for each period. therefore, you can define two identical
periods with different labels to accomplish what you're asking:
watch something
service ping
monitor fping.monitor
period p1: wd {Sun-Say}
alertafter 3
alert mail.alert someone@somewhere
period p2: wd {Sun-Say}
alertafter 10
alert some-other.alert
_______________________________________________
mon mailing list
[EMAIL PROTECTED]
http://linux.kernel.org/mailman/listinfo/mon