Changing timezone on Nagios Core Web Interface…
By default, the Nagios Core web interface (http://hostname/nagios) uses EDT. Nagios core itself uses the timezone defined by the system, unless the use_timezone variable is defined in nagios.cfg. The UI however functions with the timezone as defined by Apache/php. This is problem when you are running reports in the web interface and the times are all in EDT.
To get it to display UTC timezone instead (for example), do the following:
and add the line:
SetEnv TZ “UTC”
in the block:
Then perform a reload on Apache and Nagios. Then refresh the web interface and you’ll see the correct timezone.