Xymon Mailing List Archive search

Exclude alerts on weekends

list Malcolm Hunter
Sun, 12 Apr 2009 03:30:14 +0200
Message-Id: <user-f6b74aec85ed@xymon.invalid>

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
user-75ecfc10f124@xymon.invalid  DURATION>50 REPEAT=8h RECOVERED
You just include only weekdays:

PAGE=%.*/page_name SERVICE=conn COLOR=red TIME=W:0700:2100 mail user-75ecfc10f124@xymon.invalid  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