"Chad Sobotka" <[EMAIL PROTECTED]> writes: > I'm trying to setup Mon with two periods for one watch group. I'm doing > this to prevent late night false alarms that are getting rather annoying. > Here's what I have in mon.cf: > > watch ping > service ping > description ping all server, routers, firewalls > interval 5m > monitor fping.monitor > period p1: wd {Mon-Sun} hr {7am-6pm} > alert mail.alert [EMAIL PROTECTED] > alert qpage.alert mon > alertevery 1h > upalert mail.alert -u [EMAIL PROTECTED] > upalert qpage.alert -u mon [snip] > > I have tested this out and sometimes it does work. I bring a service > down, go to the web interface, and it reports Failed (No Alerts Sent). > However, most of the time I get an alert. I have also tried setting the > first period to just "period:" instead of "period p1:". > > Any ideas?
Personal preference is to use a more frequent interval (2m) but `alertafter 2 10m'. This seems to cut down lots on FPs - especially prevalent with ICMP ping services, of course. HTH, ~Tim -- It's enough that I can see the morning |[EMAIL PROTECTED] In miracles much more than I can say |http://pig.sty.nu/Pictures/ It's enough to keep me still believing | In drifting hearts so far away | _______________________________________________ mon mailing list mon@linux.kernel.org http://linux.kernel.org/mailman/listinfo/mon