Hello,<br><br>I might be misunderstanding you here, but it looks like the timeperiods might not be defined correctly for what you want.<br><br>It looks like the first timeperiod is defined as the entire week except for Tuesday, Thursday and Saturday, midnight to 9 mins past midnight, and 10:00pm to midnight. So the only times in the week that aren't lying within the timeperiod are about two hours and nine minutes on each of those three days. The second timeperiod is defined similarly, but for the days Monday, Wednesday and Friday instead of Tuesday, Thursday and Saturday.<br>
<br>Here is a timeperiod we use to define 'non-working hours' -- it might give you a bit of help in crafting your own timeperiods...:<br><br>define  timeperiod {<br>        timeperiod_name nonworkhours<br>        alias           Non Working Hours<br>
        sunday          00:00-24:00<br>        monday          00:00-09:00,17:00-24:00<br>        tuesday         00:00-09:00,17:00-24:00<br>        wednesday       00:00-09:00,17:00-24:00<br>        thursday        00:00-09:00,17:00-24:00<br>
        friday          00:00-09:00,17:00-24:00<br>        saturday        00:00-24:00<br>        }<br><br>Regards,<br>Guy.<br><br><br><div class="gmail_quote">On Mon, Jun 22, 2009 at 3:42 PM, Gabriel Sosa <span dir="ltr"><<a href="mailto:sosagabriel@gmail.com">sosagabriel@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">guys,<br>
<br>
we are two sysAdmin and for that I added two time periods for alerts<br>
but nagios still sending alerts to both. It was working fine but from<br>
one week ago when I added some other services to check we both<br>
starting getting alerts.<br>
<br>
And I'm sure about something its working wrong because when I go to<br>
nagios and check the log or alerts sent I can see that were sent to<br>
both.<br>
<br>
Any ideas? Thank you!<br>
<br>
<br>
here is my timeperiods config:<br>
<br>
define timeperiod{<br>
        timeperiod_name LUNES_MIERCOLES_VIERNES_DOMINGO<br>
        alias          3 DAYS A WEEK AND SUNDAY<br>
        sunday          00:00-24:00<br>
        monday          00:00-24:00<br>
        tuesday         00:09-22:00<br>
        wednesday       00:00-24:00<br>
        thursday        00:09-22:00<br>
        friday          00:00-24:00<br>
        saturday        00:09-22:00<br>
        }<br>
<br>
define timeperiod{<br>
        timeperiod_name MARTES_JUEVES_SABADOS_DOMINGO<br>
        alias           JONY 3 DAYS A WEEK AND SUNDAY<br>
        sunday          00:00-24:00<br>
        monday          00:09-22:00<br>
        tuesday         00:00-24:00<br>
        wednesday       00:09-22:00<br>
        thursday        00:00-24:00<br>
        friday          00:09-22:00<br>
        saturday        00:00-24:00<br>
        }<br>
<br>
<br>
AND MY CONTACTs CONFIG<br>
<br>
<br>
define contact{<br>
        contact_name jonathan<br>
        use generic-contact<br>
        alias Jonathan<br>
        email xxxxxxxx@bbbbbbbbbbbb<br>
        service_notification_period MARTES_JUEVES_SABADOS_DOMINGO<br>
        host_notification_period MARTES_JUEVES_SABADOS_DOMINGO<br>
}<br>
<br>
define contact{<br>
        contact_name gabriel<br>
        use generic-contact<br>
        alias Gabriel<br>
        email xxxxxxxx@aaaaaaaaa<br>
        service_notification_period LUNES_MIERCOLES_VIERNES_DOMINGO<br>
        host_notification_period LUNES_MIERCOLES_VIERNES_DOMINGO<br>
}<br>
<br>
<br>
--<br>
Gabriel Sosa<br>
Si buscas resultados distintos, no hagas siempre lo mismo. - Einstein<br>
<br>
------------------------------------------------------------------------------<br>
Are you an open source citizen? Join us for the Open Source Bridge conference!<br>
Portland, OR, June 17-19. Two days of sessions, one day of unconference: $250.<br>
Need another reason to go? 24-hour hacker lounge. Register today!<br>
<a href="http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org" target="_blank">http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org</a><br>
_______________________________________________<br>
Nagios-users mailing list<br>
<a href="mailto:Nagios-users@lists.sourceforge.net">Nagios-users@lists.sourceforge.net</a><br>
<a href="https://lists.sourceforge.net/lists/listinfo/nagios-users" target="_blank">https://lists.sourceforge.net/lists/listinfo/nagios-users</a><br>
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.<br>
::: Messages without supporting info will risk being sent to /dev/null<br>
</blockquote></div><br>