Here is a snippet of our MON config

define(_ALWAYS_,`$1 wd {Mon-Sun}')dnl
define(_WORKING_HOURS_,`$1 wd {Mon-Fri} hr {9am-4pm}')dnl
define(_OOH_,$1 `wd {Mon-Fri} hr {4pm-9am},wd {Sat-Sun}')dnl

I wish to change the working day to 0715 to 0545 but I'm at a loss...

week begins 0715 monday morning and ends 0545 saturday morning:

wd {Mon-Sat} hr {8am-4am}, wd {Tue-Sat} hr {5am} min {0-45}, wd
{Mon-Fri} hr {7am} min {15-59}

Sorry, I made a typo

I want our working day to be Monday - Friday 0715 - 1745 each day. Then
out of hours would be 1745 - 0715 each day and all day Sat and Sun

We use the 'working day' definition to alarm about everything, then Out
of Hours to alarm about only critical systems

Hope this explains it better.

MON is brilliant by the way thanks for your help.


The syntax is based in the Time::Period perl module syntax. And is the same as used in period definitions in the mon configuration.

The syntax is pretty well documentet at the perl module home:
http://search.cpan.org/~pryan/Period-1.20/Period.pm



Regards,
Anders Synstad
Basefarm AS

_______________________________________________
mon mailing list
mon@linux.kernel.org
http://linux.kernel.org/mailman/listinfo/mon

Reply via email to