-----Original Message----- From: Jim Trocki [mailto:troc...@gmail.com] Sent: 23 March 2010 14:04 To: Bryan Chapman Cc: mon@linux.kernel.org Subject: Re: Define Working Day
On Tue, 23 Mar 2010, Bryan Chapman wrote: > Hi, > > > >> 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. Bryan Bryan Chapman Network Services Network Support Manager Cognito Ltd Benham Valence Newbury Berkshire RG20 8LU www.cognitomobile.com NOTICE: Cognito Limited. Benham Valence, Newbury, Berkshire, RG20 8LU. UK. Company number 02723032. This e-mail message and any attachment is confidential. It may not be disclosed to or used by anyone other than the intended recipient. If you have received this e-mail in error please notify the sender immediately then delete it from your system. Whilst every effort has been made to check this mail is virus free we accept no responsibility for software viruses and you should check for viruses before opening any attachments. Opinions, conclusions and other information in this email and any attachments which do not relate to the official business of the company are neither given by the company nor endorsed by it. This email message has been scanned for viruses by Mimecast _______________________________________________ mon mailing list mon@linux.kernel.org http://linux.kernel.org/mailman/listinfo/mon