CGI timezone versus Nagios timezone

Casey Allen Shobe casey at shobe.info
Thu Jan 28 16:11:58 CET 2010


Hi,

I run a server with a timezone setting of UTC for the system - I do not want
to change that to local time.

I have tried restarting the nagios server using a TZ variable of 'EST5EDT',
and when I do that, I see in the log that Nagios recognizes the local time
in EST, however, the CGI's still show all times in UTC.

Personally, I don't really care what the server thinks the time zone is - I
just want local times to show up in the CGI interface.  I did not see any
setting in cgi.cfg to do this - how can I go about changing the time zone
displayed in the CGI interface without changing the serverwide time zone?

Cheers,
-- 
Casey Allen Shobe
casey at shobe.info
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20100128/6bae33dc/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
-------------- next part --------------
_______________________________________________
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