Yes, I am using 3 and it could very well be a bug. If I am reading the documentation correctly, specifically starting on page 231 of the Nagios 3 doc, with this setup, it will rotate every 14 days or 21 days or what every you set. Say I am on call this week on Monday, 14 days later it will start again.
Anyway, how would I report this as a bug or is there a syntax error I am missing? Thanks Robert -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Petersen, Mark Sent: Friday, December 21, 2007 2:50 PM To: Nagios Users mailinglist Subject: Re: [Nagios-users] On-Call Rotation This pretty useful, I didn't know once could do this and would like to. However, I run nagios 2 and it appears this is only available on nagios 3, are you using nagios 3? If so, maybe it's a bug in this new feature? Also, this looks like it would only do Dec 24, 25, then Jan 7,8, then Jan 14,15 (what you want?) but I may be misreading the documentation. > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:nagios-users- > [EMAIL PROTECTED] On Behalf Of Robert Ferguson > Sent: Friday, December 21, 2007 12:57 PM > To: [EMAIL PROTECTED]; Steve T > Cc: Nathan Blackham; nagios-users@lists.sourceforge.net > Subject: Re: [Nagios-users] On-Call Rotation > > 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 ------------------------------------------------------------------------ - 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@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@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