Page 1 of 1

[Nagios-users] Timeperiods and oncall rotation with UK Public

Posted: Thu Apr 22, 2010 8:42 am
by Guest
This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

------_=_NextPart_000_01CAE1FF.EDDFCB44
Content-Type: multipart/alternative;
boundary="----_=_NextPart_001_01CAE1FF.EDDFCB44"


------_=_NextPart_001_01CAE1FF.EDDFCB44
Content-Type: text/plain


Is anybody able to help with this ?

Thanks,
Deborah

_____

From: Deborah Martin [mailto:[email protected]]
Sent: 21 April 2010 12:25
To: [email protected]
Subject: [Nagios-users] Timeperiods and oncall rotation with UK Public
holidays
Importance: High



Folks,

I'm using SLES 10 and Nagios 3.2.0.

We have 4 oncall engineers which rotate over a 4 week period, each being
oncall one week at a time.
The oncall period is 17:30 - 08:00 each working day and then the whole
period for any weekend or UK public holiday.

My definitions are :-

define timeperiod{
timeperiod_name 24x7
alias 24 Hours A Day, 7 Days A Week
sunday 00:00-24:00
monday 00:00-24:00
tuesday 00:00-24:00
wednesday 00:00-24:00
thursday 00:00-24:00
friday 00:00-24:00
saturday 00:00-24:00
}

This is for all normal monitoring of our systems.

Each oncall engineer is defined :-

define timeperiod{
timeperiod_name person1-oncall
alias person1-oncall
2010-03-29 / 28 17:30-24:00 ; Monday
2010-03-30 / 28 00:00-08:00,17:30-24:00 ; Tuesday
2010-03-31 / 28 00:00-08:00,17:30-24:00 ; Wednesday
2010-04-01 / 28 00:00-08:00,17:30-24:00 ; Thursday
2010-04-02 / 28 00:00-08:00,17:30-24:00 ; Friday
2010-04-03 / 28 00:00-24:00 ; Saturday
2010-04-04 / 28 00:00-24:00 ; Sunday
2010-04-05 / 28 00:00-08:00 ; Monday
}

define timeperiod{
timeperiod_name person2-oncall
alias person2-oncall
2010-04-05 / 28 17:30-24:00 ; Monday
2010-04-06 / 28 00:00-08:00,17:30-24:00 ; Tuesday
2010-04-07 / 28 00:00-08:00,17:30-24:00 ; Wednesday
2010-04-08 / 28 00:00-08:00,17:30-24:00 ; Thursday
2010-04-09 / 28 00:00-08:00,17:30-24:00 ; Friday
2010-04-10 / 28 00:00-24:00 ; Saturday
2010-04-11 / 28 00:00-24:00 ; Sunday
2010-04-12 / 28 00:00-08:00 ; Monday
}

define timeperiod{
timeperiod_name person3-oncall
alias person3-oncall
2010-04-12 / 28 17:30-24:00 ; Monday
2010-04-13 / 28 00:00-08:00,17:30-24:00 ; Tuesday
2010-04-14 / 28 00:00-08:00,17:30-24:00 ; Wednesday
2010-04-15 / 28 00:00-08:00,17:30-24:00 ; Thursday
2010-04-16 / 28 00:00-08:00,17:30-24:00 ; Friday
2010-04-17 / 28 00:00-24:00 ; Saturday
2010-04-18 / 28 00:00-24:00 ; Sunday
2010-04-19 / 28 00:00-08:00 ; Monday
}

define timeperiod{
timeperiod_name person4-oncall
alias person4-oncall
2010-04-19 / 28 17:30-24:00 ; Monday
2010-04-20 / 28 00:00-08:00,17:30-24:00 ; Tuesday
2010-04-21 / 28 00:00-08:00,17:30-24:00 ; Wednesday
2010-04-22 / 28 00:00-08:00,17:30-24:00 ; Thursday
2010-04-23 / 28 00:00-08:00,17:30-24:00 ; Friday
2010-04-24 / 28 00:00-24:00 ; Saturday
2010-04-25 / 28 00:00-24:00 ; Sunday
2010-04-26 / 28 00:00-08:00 ; Monday
}

I have escalations set for one particular client which will happen during
oncall hours only and depending on the notification number, (4,5,6) will
send an SMS alert to the relevant person oncall.

## Escalation ONE:
define serviceescalation {
host_name dbhost1
service_description DB Conn Check
first_notification 4
last_notification 6
notification_interval 15
escalation_options c ; Only escalate for CRITICAL alerts
escalation_period oncall
contact_groups wx2-sms-oncall-group
}

define timeperiod{
timeperiod_name oncall
alias Oncall Hours
sunday 00:00-24:00
monday 00:00-08:00,17:30-24:00
tuesday 00:00-08:00,17:30-24:00
wednesday 00:00-08:00,17:30-24:00
thursday 00:00-08:00,17:30-24:00
friday 00:00-08:00,17:30-24:00
saturday 00:00-24:00
}

And the sms-oncall-

...[email truncated]...


This post was automatically imported from historical nagios-devel mailing list archives
Original poster: eborah Martin [mailto:[email protected]