[hobbit] Exclude alerts on weekends

Malcolm Hunter malcolm.hunter at gmx.co.uk
Sun Apr 12 03:30:14 CEST 2009


> 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



More information about the Xymon mailing list