On-Call Rotation
Robert Ferguson
robert.ferguson at replacements.com
Fri Dec 21 19:57:17 CET 2007
Kind of on the same subject, I am trying to setup a rotation and nagios
doesn't like the date setup. I have set it up just as the book says for
alternating week rotation for 2 people. I am coping in a portion of my
directives to assist in illustrating.
# "Robert On-Call" timeperiod definition
define timeperiod{
timeperiod_name robert-on-call
alias Robert On Call
2007-12-24 / 14 08:00-2400
2007-12-25 / 14 00:00-2400
}
Of course this goes on for a week and the second person has a similar
schedule one week later. The error I am getting when doing my cfg check
is:
Error: Invalid timeperiod object directive '2007-12-24'
Error: Could not add object property in
file'/usr/local/nagios/etc/timeperiods.cfg' on line 187
Line 187 is the first place this time shows up. Any thoughts?
Thanks,
Robert
-----Original Message-----
From: nagios-users-bounces at lists.sourceforge.net
[mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Donnell
Lewis
Sent: Monday, October 15, 2007 1:23 PM
To: Steve T
Cc: Nathan Blackham; nagios-users at lists.sourceforge.net
Subject: Re: [Nagios-users] On-Call Rotation
Likewise here, we have a qmail server and I just setup a adminonduty
contactgroup and defined a timeperiod for adminonduty contacts and then
wrote a simple bash script that looks for the current adminonduty in the
adminonduty.cfg file that holds the group definition and according to
what the current one is changes that to the next in the list and reloads
nagios, then it logs in to the mailserver and sets the adminonduty
forwarder to the current email addy of the contact.
-Don
On Mon, 2007-10-15 at 10:30 -0500, Steve T wrote:
> I just created a contactgroup for each of us on call and manually
> changed the notification every week. Nothing fancy, but we swapped
> our on calls often enough that it was easier for us to just pencil
> ourselves in.
>
> On 10/15/07, Nathan Blackham <kemotaha at gmail.com> wrote:
> What do other people user to rotate who gets paged at night.
> We currently have 4 Admins that rotate on a weekly basis
> (Monday-Monday). Currently we are all getting paged all the
> time. Is there a solution out there that we can setup a
> On-Call person or pointer where it will switch between who is
> currently on-call?
>
> Nathan
>
>
------------------------------------------------------------------------
-
> This SF.net email is sponsored by: Splunk Inc.
> Still grepping through log files to find problems? Stop.
> Now Search log events and configuration files using AJAX and a
> browser.
> Download your FREE copy of Splunk now >>
> http://get.splunk.com/
> _______________________________________________
> Nagios-users mailing list
> Nagios-users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-users
> ::: Please include Nagios version, plugin version (-v) and OS
> when reporting any issue.
> ::: Messages without supporting info will risk being sent
> to /dev/null
>
>
>
> --
> "In a time of universal deceit, telling the truth is a revolutionary
> act!"
> -- George Orwell (Eric Arthur Blair)
>
------------------------------------------------------------------------
-
> This SF.net email is sponsored by: Splunk Inc.
> Still grepping through log files to find problems? Stop.
> Now Search log events and configuration files using AJAX and a
browser.
> Download your FREE copy of Splunk now >> http://get.splunk.com/
> _______________________________________________ Nagios-users mailing
list Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please
include Nagios version, plugin version (-v) and OS when reporting any
issue. ::: Messages without supporting info will risk being sent to
/dev/null
------------------------------------------------------------------------
-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when
reporting any issue.
::: Messages without supporting info will risk being sent to /dev/null
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.
::: Messages without supporting info will risk being sent to /dev/null
More information about the Users
mailing list