Cacti Timezone Support

Addons for Cacti and discussion about those addons

Moderators: Developers, Moderators

thuck
Posts: 21
Joined: Mon Mar 09, 2009 6:13 pm

Post by thuck »

TheWitness; when you say next release are you talking about the 0.8.8?

Thanks
grasland
Posts: 12
Joined: Wed Aug 08, 2007 2:35 pm

Post by grasland »

TheWitness wrote:Its all wraped into the next release and functional. Its a big change though.

TheWitness
Can you tell us a bit more about that? Will a user be able to specify a timezone in user settings and have the graphs presented in the local time?

When will this be released (approximately)? Is there need for testing this? We are currently setting up a test server on which we could do so.
Dude
Cacti User
Posts: 73
Joined: Wed Aug 11, 2010 11:44 pm

Post by Dude »

use ini_set for selecting your timezone.
replace "date..." with "@date..." in your include/global***.php files

this fixed the same problem at my end..
Chrysalis
Cacti User
Posts: 70
Joined: Fri Sep 19, 2008 10:14 am
Location: UK

Re:

Post by Chrysalis »

Dude wrote:use ini_set for selecting your timezone.
replace "date..." with "@date..." in your include/global***.php files

this fixed the same problem at my end..
sounds like it will affect all users tho, is per host timezone i am after.
stormonts
Cacti User
Posts: 349
Joined: Tue Mar 31, 2009 10:05 am

Re: Cacti Timezone Support

Post by stormonts »

I too am curious about which "next version" it is rolled into. We are currently running 0.8.7.e. The way that we had been getting around this was :

Code: Select all

We are in EST (Eastern time zone) and we have 1 main Cacti instance which pulls stats from servers that we monitor in other time zones. Users at those remote locations connect to a instance of Cacti that we have created just for them by copying the Cacti directory, then symbolically linking the rras for the graphs to the rras in the main instance, and then modifying the apache hosts file to point them to the correct instance. We then create a custom RRDTOOL script for each instance and call it in the "RRDTool Binary Path" setting box. For example, our file for a server in Seattle uses this file called rrdtool-pst:

Code:

#!/bin/bash
TZ="PST8PDT" /usr/bin/rrdtool "$@"


We then have three other files called, rrdtool-cst (Central time), rrdtool-hst (Hawaii), and rrdtool-mst (Mountain).
For some reason, the most recent instance that we tried to make is failing during browsing (not sure if that is based on a Cacti update, plug-ins we have installed, mysql, etc)
User avatar
MrBr
Posts: 44
Joined: Thu Sep 24, 2009 10:13 am

Re: Cacti Timezone Support

Post by MrBr »

Any updates regarding the feature?
Anything i can help you with?
I need this feature badly.
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Re: Cacti Timezone Support

Post by gandalf »

We are working on an intermediate 087h. Please contact browniebraun for more info on timezone support. He's THE expert
R.
Post Reply

Who is online

Users browsing this forum: No registered users and 4 guests