<font face="courier new, monospace">== Nagios Core 3.3.1 ==<br><br>I'm running into an issue where notification emails are not being sent to contacts at the time periods I would expect. Seemingly Nagios calculates the notification period based on the underlying OS time rather than using the timezone specified in nagios.cfg.<br>

<br>Curent timezone setup:<br>1. OS is set to timezone Australia/Brisbane<br>2. /etc/nagios/nagios.cfg is configured with "use_timezone=UTC"<br><br>Current timeperiod setup:<br>I have configured a series of timeperiods based on UTC for Brisbane, UK, California etc. e.g.:<br>

<br>define timeperiod {<br>  alias                          UK Weekdays<br>  timeperiod_name                uk_weekdays<br>  monday                         08:00-18:00<br>  tuesday                        08:00-18:00<br>  wednesday                      08:00-18:00<br>

  thursday                       08:00-18:00<br>  friday                         08:00-18:00<br>}<br><br>define timeperiod {<br>  alias                          Queensland Weekdays<br>  timeperiod_name                qld_weekdays<br>

  sunday                         22:00-24:00<br>  monday                         00:00-07:00,22:00-24:00<br>  tuesday                        00:00-07:00,22:00-24:00<br>  wednesday                      00:00-07:00,22:00-24:00<br>

  thursday                       00:00-07:00,22:00-24:00<br>  friday                         00:00-07:00<br>}<br><br>However Nagios is sending the notification emails to the wrong contacts by calculating the notification period based on the OS time rather than using the timezone value specified in nagios.cfg. For example if I change the OS timezone to UTC then everything works as expected. The TZ environment variable has not been set on the OS. Has anyone experienced a similar issue? Or have I incorrectly configured something?</font><div>

<font face="courier new, monospace"><br></font></div><div><font face="courier new, monospace">Thanks,</font></div><div><font face="courier new, monospace"><br></font></div><div><font face="courier new, monospace">Peter</font></div>