Page 1 of 1

[Nagios-devel] Time Periods and exception , bug ??

Posted: Tue Sep 01, 2009 3:07 pm
by Guest
--_5ef3fe1f-4f24-4479-b940-41e12ed7ed5a_
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable


Hello=2C

I'm using nagios v3.0.6 in production environnement.
I'm having a serious problem with time periods. When i configure exceptions=
=20

=2C notifications don't work anymore.

My configuration


With this configuration=2C all works

define timeperiod{
timeperiod_name freeday
alias My freeday
january 1 00:00-24:00
december 25 00:00-24:00
}=20


define timeperiod {
timeperiod_name 11x5
alias 11 Hours A Day=2C 5 Days A Week
monday 07:30-18:30
tuesday 07:30-18:30
wednesday 07:30-18:30
thursday 07:30-18:30
friday 07:30-18:30
exclude freeday
}


But with this configuration (ie i just add july 14)

define timeperiod{
timeperiod_name freeday
alias My freeday
january 1 00:00-24:00
july 14 00:00-24:00
december 25 00:00-24:00

It seems notifications are disabled !

For information :

if i use send custom notification=2C no notifications are send
if i use send custom notification with forced checked =2C it works !

For information=2C in contact.cfg i have this :

service_notification_period 11x5
host_notification_period 11x5


And in services configuation i have this :
check_period 24x7
notification_period 11x5

Can someone tell me if there is a bug or not ? Because i tried everything=20

but it doesn't work !

Best Regards
Patrick
_________________________________________________________________
Tchattez en direct en en vid=E9o avec vos amis ! =20
http://www.windowslive.fr/messenger/=

--_5ef3fe1f-4f24-4479-b940-41e12ed7ed5a_
Content-Type: text/html; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable




.hmmessage P
{
margin:0px=3B
padding:0px
}
body.hmmessage
{
font-size: 10pt=3B
font-family:Verdana
}



Hello=2CI'm using nagios v3.0.6 in production environnement.I'm=
having a serious problem with time periods. When i configure exceptions =2C notifications don't work anymore.My configuration=
With this configuration=2C all worksdefine timeperiod{&nbsp=
=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B timeperiod_name&nbsp=3B=
&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nb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B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B 11 Hours A Day=2C 5 D=
ays A Week&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B mond=
ay&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&=
nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbs=
p=3B&nbsp=3B&nbsp=3B 07:30-18:30&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=

...[email truncated]...


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