Cacti (home)ForumsDocumentation
Cacti: offical forums and support
It is currently Wed Jun 19, 2019 1:54 am

All times are UTC - 5 hours




Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: How to have local Linux TZ be UTC while Cacti uses local TZ
PostPosted: Thu May 16, 2019 3:43 pm 
Offline

Joined: Mon Aug 26, 2013 8:50 pm
Posts: 4
Hi,

I have Cacti installed on a server that has (and must continue to have) the Linux TZ set to UTC, but I want Cacti to record and present data using "US/Eastern".
I have set date.timezone = "US/Eastern" in all php.ini files and I observe that the Cacti poller is writing to the RRD files using US/Eastern as desired with the collected data appearing in the RRD file consistent with US/Eastern.
The problem is that the graphs are being rendered with the assumption that the current time of day is UTC, so there is always a four-hour empty gap in the graphs on the right hand side. Also in Cacti when I select a time range for a graph it interprets my request as being in UTC, so for example if I say I want "last hour" it shows up all empty since the last 4 hours on the graph are always empty.
Is there a way to work around this without forcing my Linux TZ to "US/Eastern"?

Thanks
Kevin


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC - 5 hours


Who is online

Users browsing this forum: Bing [Bot] and 8 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  

Protected by Anti-Spam ACP Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group