Hi,

I'm setting up event-handlers, and some of our hosts reboot daily. So I 
defined a custom timeperiod excluding the 6:00-6:15 period:

define timeperiod{
         timeperiod_name 24x7reboot6
         alias           24x7_sauf_6h-6h15
         sunday          00:00-06:00,06:15-24:00
         monday          00:00-06:00,06:15-24:00
         tuesday         00:00-06:00,06:15-24:00
         wednesday       00:00-06:00,06:15-24:00
         thursday        00:00-06:00,06:15-24:00
         friday          00:00-06:00,06:15-24:00
         saturday        00:00-06:00,06:15-24:00
}

and added

check_period  24x7reboot6

to those hosts (the default 24x7 check period is inherited from template).

But checks are still run during the 6:00-6:15 period (from schedulerd.log):

2011-09-09 06:02:02,496 [1315540922] HOST ALERT: xxx;DOWN;SOFT;1;PING 
CRITICAL - Packet loss = 100%
2011-09-09 06:03:02,972 [1315540982] HOST ALERT: 
xxx;DOWN;SOFT;2;CRITICAL - Host Unreachable (xx.xx.xx.xx)
2011-09-09 06:03:37,225 [1315541017] HOST ALERT: xxx;UP;SOFT;3;PING OK - 
Packet loss = 0%, RTA = 0.60 ms

Am I doing it wrong?
-- 
   .:::::.     Acteur Internet      E-Tourisme       Éditeur de logiciels
.        °..  www.b2f-concept.com        -       cont...@b2f-concept.com
.  B 2 F  ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
. concept ..............................................................
  °:::::°      ICOR        SOPRANE         FACTORY PROD          LOGITOGE

Vincent RIQUER - Équipe Exploitation - B2F-CONCEPT
Siège social : Bâtiment Euclide - Savoie Technolac - BP 333
                73375 Le-Bourget-du-Lac Cedex
Agence Grenoble : 1 place Firmin GAUTHIER - 38000 Grenoble
Tél.: 04 79 25 19 19 - Fax : 04 79 25 17 25

------------------------------------------------------------------------------
Why Cloud-Based Security and Archiving Make Sense
Osterman Research conducted this study that outlines how and why cloud
computing security and archiving is rapidly being adopted across the IT 
space for its ease of implementation, lower cost, and increased 
reliability. Learn more. http://www.accelacomm.com/jaw/sfnl/114/51425301/
_______________________________________________
Shinken-devel mailing list
Shinken-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/shinken-devel

Reply via email to