<html><head><style type='text/css'>p { margin: 0; }</style></head><body><div style='font-family: Arial; font-size: 12pt; color: #000000'>SImply genious<span>. That appears to be the issue, but I haven't a clue how to fix it, as it appears to be a formatting error.<br><br>Here's what the cfg file shows:<br><br># Mail Server Downtime<br>define timeperiod{<br> timeperiod_name MailServ<br> alias Monitored 24x7 Except During A Backup<br> sunday 00:00-02:45,03:30-24:00<br> monday 00:00-02:45,03:30-24:00<br> tuesday 00:00-02:45,03:30-24:00<br> wednesday 00:00-02:45,03:30-24:00<br> thursday 00:00-02:45,03:30-24:00<br> friday 00:00-02:45,03:30-24:00<br> saturday 00:00-02:45,03:30-24:00<br> }<br><br><br>And here's what's given with the method you described:<br><br></span><table class="data" border="0"><tbody><tr class="dataOdd"><td class="dataOdd"><a name="MailServ">MailServ</a></td>
<td class="dataOdd">Monitored 24x7 Except During A Backup</td>
<td class="dataOdd"><br></td><td class="dataOdd">sunday</td><td class="dataOdd">
03:30:00 - 24:00:00, 00:00:00 - 02:45:00 </td>
</tr>
<tr><td colspan="3"><br></td><td class="dataOdd">
monday</td><td class="dataOdd">
03:30:00 - 24:00:00, 00:00:00 - 02:45:00 </td>
</tr>
<tr><td colspan="3"><br></td><td class="dataOdd">
tuesday</td><td class="dataOdd">
03:30:00 - 24:00:00, 00:00:00 - 02:45:00 </td>
</tr>
<tr><td colspan="3"><br></td><td class="dataOdd">
wednesday</td><td class="dataOdd">
03:30:00 - 24:00:00, 00:00:00 - 02:45:00 </td>
</tr>
<tr><td colspan="3"><br></td><td class="dataOdd">
thursday</td><td class="dataOdd">
03:30:00 - 24:00:00, 00:00:00 - 02:45:00 </td>
</tr>
<tr><td colspan="3"><br></td><td class="dataOdd">
friday</td><td class="dataOdd">
03:30:00 - 24:00:00, 00:00:00 - 02:45:00 </td>
</tr>
<tr><td colspan="3"><br></td><td class="dataOdd">
saturday</td><td class="dataOdd">
03:30:00 - 24:00:00, 00:00:00 - 02:45:00</td></tr></tbody></table><br><span id="5851af17-da65-4d97-aef4-755805b7de60">Is the formatting an issue?<br><br></span>define host{<br> use generic-host<br> host_name Mail<br> alias Mail_Server<br> address 10.0.0.10<br> check_command check-host-alive<br> max_check_attempts 10<br> notification_interval 10<br> notification_period MailServ<br> notification_options d,u,r<br> }<br><br><br><br><br>----- Original Message -----<br>From: "Martin Melin" <martinm@op5.org><br>To: "Matt Baer" <matt@baerconsult.com><br>Cc: "nagios-users" <nagios-users@lists.sourceforge.net><br>Sent: Tuesday, March 2, 2010 7:07:50 PM<br>Subject: Re: [Nagios-users] Getting Notifications Outside of Defined Time Periods<br><br>It sounds like the check_time_period of your checks is not being set to what you think it is.<div><br></div><div>I suggest that you use config.cgi (View Config in the sidebar menu) to check what Nagios is actually using as the running configuration. Go to Services, check the Check Period value. Then go to Time Periods and verify what the definition of that Check Period alias is ("never" is not a magic word, it is just an alias so it could conceivably be something else than never).<br>
<br><div class="gmail_quote">On Wed, Mar 3, 2010 at 1:07 AM, Matt Baer <span dir="ltr"><<a href="mailto:matt@baerconsult.com" target="_blank">matt@baerconsult.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;">
<div><div style="font-family: Arial; font-size: 12pt; color: rgb(0, 0, 0);"><span>I'm having an issue with Nagios sending me notifications during time periods that are not included within the designated period. I've tested this by setting the time period to 'never', restarting Nagios and I STILL get notifications.<br>
<br>I have a backup that runs on my Mail Server 3-4 times a week. In order to do the backup process, I have to down my mail server. So you can imagine that I'm getting dozens of emails at very early times in the morning. Any ideas?<br>
</span></div></div><br></blockquote></div><br>-- <br>Martin Melin<br><br>May your delusions be benign and your compulsions have utility<br>____________________________<br>op5 AB<br><a href="http://www.op5.com" target="_blank">http://www.op5.com</a><br>
<br><a href="http://www.op5.org/" target="_blank">http://www.op5.org/</a><br><a href="http://www.op5.com/op5/products/network-monitor/nagios/" target="_blank">http://www.op5.com/op5/products/network-monitor/nagios/</a> <br>
</div>
</div></body></html>