[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [hobbit] Exclude alerts on weekends
- To: hobbit (at) hswn.dk
- Subject: Re: [hobbit] Exclude alerts on weekends
- From: "Malcolm Hunter" <malcolm.hunter (at) gmx.co.uk>
- Date: Sun, 12 Apr 2009 03:30:14 +0200
- References: <A8A26690D8B45A46A821ED9141E83D2B029CF5 (at) home99.Home.local>
> Just a general Xymon question. What is the best way to exclude certain
> days in Xymon alerts?
>
>
> For example the statement below will limit alerts to 7AM through 9 PM
> but how would I exclude Saturday and Sunday from this same alert?
>
>
>
>
>
> PAGE=%.*/page_name SERVICE=conn COLOR=red TIME=*:0700:2100 mail
> user1 (at) domain.net DURATION>50 REPEAT=8h RECOVERED
>
You just include only weekdays:
PAGE=%.*/page_name SERVICE=conn COLOR=red TIME=W:0700:2100 mail user1 (at) domain.net DURATION>50 REPEAT=8h RECOVERED
(see NKTIME on bb-hosts man page).
Regards,
Malcolm
--
Technical copy-editor & proofreader
KDE Proofreading Team
KDE British English Translation Team
http://l10n.kde.org/team-infos.php?teamcode=en_GB
Neu: GMX FreeDSL Komplettanschluss mit DSL 6.000 Flatrate + Telefonanschluss für nur 17,95 Euro/mtl.!* http://dslspecial.gmx.de/freedsl-surfflat/?ac=OM.AD.PD003K11308T4569a