nagios dont care about time periods

Gabriel Sosa sosagabriel at gmail.com
Mon Jun 22 16:50:26 CEST 2009


guys,

we are two sysAdmin and for that I added two time periods for alerts
but nagios still sending alerts to both. It was working fine but from
one week ago when I added some other services to check we both
starting getting alerts.

And I'm sure about something its working wrong because when I go to
nagios and check the log or alerts sent I can see that were sent to
both.

Any ideas? Thank you!


here is my timeperiods config:

define timeperiod{
       timeperiod_name LUNES_MIERCOLES_VIERNES_DOMINGO
       alias          3 DAYS A WEEK AND SUNDAY
       sunday          00:00-24:00
       monday          00:00-24:00
       tuesday         00:09-22:00
       wednesday       00:00-24:00
       thursday        00:09-22:00
       friday          00:00-24:00
       saturday        00:09-22:00
       }

define timeperiod{
       timeperiod_name MARTES_JUEVES_SABADOS_DOMINGO
       alias           JONY 3 DAYS A WEEK AND SUNDAY
       sunday          00:00-24:00
       monday          00:09-22:00
       tuesday         00:00-24:00
       wednesday       00:09-22:00
       thursday        00:00-24:00
       friday          00:09-22:00
       saturday        00:00-24:00
       }


AND MY CONTACTs CONFIG


define contact{
       contact_name jonathan
       use generic-contact
       alias Jonathan
       email xxxxxxxx at bbbbbbbbbbbb
       service_notification_period MARTES_JUEVES_SABADOS_DOMINGO
       host_notification_period MARTES_JUEVES_SABADOS_DOMINGO
}

define contact{
       contact_name gabriel
       use generic-contact
       alias Gabriel
       email xxxxxxxx at aaaaaaaaa
       service_notification_period LUNES_MIERCOLES_VIERNES_DOMINGO
       host_notification_period LUNES_MIERCOLES_VIERNES_DOMINGO
}


--
Gabriel Sosa
Si buscas resultados distintos, no hagas siempre lo mismo. - Einstein

------------------------------------------------------------------------------
Are you an open source citizen? Join us for the Open Source Bridge conference!
Portland, OR, June 17-19. Two days of sessions, one day of unconference: $250.
Need another reason to go? 24-hour hacker lounge. Register today!
http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org
_______________________________________________
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