two notification timeperiods overlapping

Terry td3201 at gmail.com
Tue Apr 22 16:16:51 CEST 2008


On Tue, Apr 22, 2008 at 8:09 AM, Robert Ferguson
<robert.ferguson at replacements.com> wrote:
>
>
>  -----Original Message-----
>  From: nagios-users-bounces at lists.sourceforge.net
>  [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Terry
>  Sent: Monday, April 21, 2008 1:13 PM
>  To: Nagios Users mailinglist
>  Subject: Re: [Nagios-users] two notification timeperiods overlapping
>
>  This issue still exists.  I can't see how it can be anything other
>  than a bug but I would like some clarification.  Anyone else doing
>  something like this?
>
>  >  On Mon, Mar 31, 2008 at 10:39 AM, Terry <td3201 at gmail.com> wrote:
>  >  > Hello,
>  >  >
>  >  >  I have two timeperiods that do NOT overlap in the config but two
>  >  >  contacts with each associated timeperiod are both being notified.
>  We
>  >  >  are in the engineer04 rotation according to my calculations.
>  Anyone
>  >  >  see why this is happening?
>  >  >
>  >  >  define timeperiod{
>  >  >         timeperiod_name engineer03
>  >  >         alias           engineer03
>  >  >         2007-11-19 / 42 08:00-24:00
>  >  >         2007-11-20 / 42 00:00-24:00
>  >  >         2007-11-21 / 42 00:00-24:00
>  >  >         2007-11-22 / 42 00:00-24:00
>  >  >         2007-11-23 / 42 00:00-24:00
>  >  >         2007-11-24 / 42 00:00-24:00
>  >  >         2007-11-25 / 42 00:00-24:00
>  >  >         2007-11-26 / 42 00:00-08:00
>  >  >         }
>  >  >
>  >  >  define timeperiod{
>  >  >         timeperiod_name engineer03-workhours
>  >  >         alias           engineer03-workhours
>  >  >         2007-11-19 / 42 08:00-17:00
>  >  >         2007-11-20 / 42 08:00-17:00
>  >  >         2007-11-21 / 42 08:00-17:00
>  >  >         2007-11-22 / 42 08:00-17:00
>  >  >         2007-11-23 / 42 08:00-17:00
>  >  >         2007-11-24 / 42 08:00-17:00
>  >  >         2007-11-25 / 42 08:00-17:00
>  >  >         }
>  >  >
>  >  >  define timeperiod{
>  >  >         timeperiod_name engineer04
>  >  >         alias           engineer04
>  >  >         2007-11-26 / 42 08:00-24:00
>  >  >         2007-11-27 / 42 00:00-24:00
>  >  >         2007-11-28 / 42 00:00-24:00
>  >  >         2007-11-29 / 42 00:00-24:00
>  >  >         2007-11-30 / 42 00:00-24:00
>  >  >         2007-12-01 / 42 00:00-24:00
>  >  >         2007-12-02 / 42 00:00-24:00
>  >  >         2007-12-03 / 42 00:00-08:00
>  >  >         }
>  >  >  define timeperiod{
>  >  >         timeperiod_name engineer04-workhours
>  >  >         alias           engineer04-workhours
>  >  >         2007-11-26 / 42 08:00-17:00
>  >  >         2007-11-27 / 42 00:00-17:00
>  >  >         2007-11-28 / 42 00:00-17:00
>  >  >         2007-11-29 / 42 00:00-17:00
>  >  >         2007-11-30 / 42 00:00-17:00
>  >  >         2007-12-01 / 42 00:00-17:00
>  >  >         2007-12-02 / 42 00:00-17:00
>  >  >         }
>  >  >
>  >  >  define contact{
>  >  >         contact_name                    jdoe-email-warning
>  >  >         alias                           jdoe-email-warning
>  >  >         service_notification_period     engineer03-workhours
>  >  >         host_notification_period        engineer03-workhours
>  >  >         service_notification_options    w,u
>  >  >         host_notification_options       n
>  >  >         service_notification_commands   notify-by-email
>  >  >         host_notification_commands      host-notify-by-email
>  >  >         email                           jdoe at hotmail.com
>  >  >         }
>  >  >
>  >  >  define contact{
>  >  >         contact_name                    narf-email-warning
>  >  >         alias                           nar-email-warning
>  >  >         service_notification_period     engineer04-workhours
>  >  >         host_notification_period        engineer04-workhours
>  >  >         service_notification_options    w,u
>  >  >         host_notification_options       n
>  >  >         service_notification_commands   notify-by-email
>  >  >         host_notification_commands      host-notify-by-email
>  >  >         email                           narf at hotmail.com
>  >  >         }
>  >  >
>  >  >
>  >  >  [1206977436] SERVICE NOTIFICATION:
>  jdoe-email-warning;DEMETER;drive
>  >  >  used - c;WARNING;notify-by-email;WARNING: C:: Total: 12G - Used:
>  10.2G
>  >  >  (85%) - Free: 1.
>  >  >  76G (15%) > warning
>  >  >  [1206977436] SERVICE NOTIFICATION:
>  narf-email-warning;DEMETER;drive
>  >  >  used - c;WARNING;notify-by-email;WARNING: C:: Total: 12G - Used:
>  10.2G
>  >  >  (85%) - Fr
>  >  >  ee: 1.76G (15%) > warning
>  >  >
>  >  >  You timestamp on this alert is around 10:15 AM.
>  >  >
>  >  >  Thanks!
>  >  >
>  >
>
>  ------------------------------------------------------------------------
>  -
>  This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
>  Don't miss this year's exciting event. There's still time to save $100.
>  Use priority code J8TL2D2.
>  http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/j
>  avaone
>  _______________________________________________
>  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
>
>
>
>  Good Morning List,
>
>
>  I am having the same problem.  What is happening is on the switch over
>  day (Monday at 08:00) between analyst1 and sysadmin, analyst1 is still
>  getting pages from Nagios,  forturnally, so is the sysadmin, but, if I
>  have my configs right, the analyst1 should not be getting pages.  The
>  logs for Nagios indicate that both are still being paged.  On Tuesday,
>  (which is the second day in the rotation) the analyst stops getting
>  pages.  Any thoughts or ideas?
>
>  Thanks in advance.
>
>  Robert
>
>  # 'sysadmin On-Call' timeperiod definition
>  define timeperiod{
>         timeperiod_name sysadmin-on-call
>         alias           sysadmin On Call
>         2008-03-10 / 21         08:00-24:00     ;Every Third Monday at
>  8:00 am
>         2008-03-11 / 21         00:00-24:00     ;Every Third Tuesday
>         2008-03-12 / 21         00:00-24:00     ;Every Third Wed
>         2008-03-13 / 21         00:00-24:00     ;Every Third Thur
>         2008-03-14 / 21         00:00-24:00     ;Every Third Fri
>         2008-03-15 / 21         00:00-24:00     ;Every Third Sat
>         2008-03-16 / 21         00:00-24:00     ;Every Third Sun
>         2008-03-17 / 21         00:00-08:00     ;Every Third Monday from
>  midnight to 8:00 am
>         }
>
>
>
>  # 'analyst1 On-Call' timeperiod definition
>  define timeperiod{
>         timeperiod_name keith-on-call
>         alias           analyst1 On Call
>         2008-03-03 / 21         08:00-24:00     ;Every Third Monday at
>  8:00 am
>         2008-03-04 / 21         00:00-24:00     ;Every Third Tuesday
>         2008-03-05 / 21         00:00-24:00     ;Every Third Wed
>         2008-03-06 / 21         00:00-24:00     ;Every Third Thur
>         2008-03-07 / 21         00:00-24:00     ;Every Third Fri
>         2008-03-08 / 21         00:00-24:00     ;Every Third Sat
>         2008-03-09 / 21         00:00-24:00     ;Every Third Sun
>         2008-03-10 / 21         00:00-08:00     ;Every Third Monday from
>  midnight to 8:00 am
>         }
>
>
>
>  # 'analyst2 On-Call' timeperiod definition
>  define timeperiod{
>         timeperiod_name drew-on-call
>         alias           analyst2 On Call
>         2008-03-17 / 21         08:00-24:00     ;Every Third Monday at
>  8:00 am
>         2008-03-18 / 21         00:00-24:00     ;Every Third Tuesday
>         2008-03-19 / 21         00:00-24:00     ;Every Third Wed
>         2008-03-20 / 21         00:00-24:00     ;Every Third Thur
>         2008-03-21 / 21         00:00-24:00     ;Every Third Fri
>         2008-03-22 / 21         00:00-24:00     ;Every Third Sat
>         2008-03-23 / 21         00:00-24:00     ;Every Third Sun
>         2008-03-24 / 21         00:00-08:00     ;Every Third Monday
>         }
>
>  define contact{
>       contact_name        sysadmin-on-call              ; Short name of
>  user
>         use                     generic-contact         ; Inherit
>  default values from generic-contact template (defined above)
>       alias               sysadmin On Call              ; Full name of
>  user
>         host_notification_period        sysadmin-on-call
>         service_notification_period     sysadmin-on-call
>       email               phoneforsysadmin at phonecarrier.com     ;
>  <<***** CHANGE THIS TO YOUR EMAIL ADDRESS ******
>         }
>
>
>
>  define contact{
>       contact_name         analyst1-on-call             ; Short name of
>  user
>         use                        generic-contact              ;
>  Inherit default values from generic-contact template (defined above)
>       alias                analyst1 On Call             ; Full name of
>  user
>         host_notification_period        analyst1-on-call
>         service_notification_period     analyst1-on-call
>       email                phoneforanalyst1 at phonecarrier.com
>         }
>
>  define contact{
>       contact_name         analyst2-on-call             ; Short name of
>  user
>         use                        generic-contact              ;
>  Inherit default values from generic-contact template (defined above)
>       alias                analyst2 On Call             ; Full name of
>  user
>         host_notification_period        analyst1-on-call
>         service_notification_period     analyst1-on-call
>       email                phoneforanalyst2 at phonecarrier.com
>         }
>
>  Thanks in advance,
>
>  Robert
>
>  ------------------------------------------------------------------------
>  -
>  This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
>  Don't miss this year's exciting event. There's still time to save $100.
>  Use priority code J8TL2D2.
>  http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/j
>  avaone
>  _______________________________________________
>  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
>
>
>  Sorry, should have said that I am running Nagios 3.0rc1.
>
>  Thanks again,
>
>  Robert
>
>  -------------------------------------------------------------------------
>

I am running 3.0.1.  I know that it existed in both 3.0 and 3.0.1.

Thanks!

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
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