Hi
I am also using flowscan with JKFlow...
In the JKGrapher.pl... if we put $ENV{'TZ'} = "GMT"; in the beginning of the 
script then the timings of the graph comes in GMT....
Since you are using CampusIO then you need to search which file makes the 
graphs.... I think its graph.mf (I am not sure)... so put this line in the 
beginning of graph.mf (if that’s the file) .... 
You don't need to put it in pm files.... as far as I know changing to GMT or to 
any other timing should happen when we read the RRD to create the graph ….not 
when we put data into it.....
Chitman
Robert Heber <[EMAIL PROTECTED]> wrote:
Hi,

thank you for a hint, I think that this trace is good but
for now I can't make it work - I tried GMT or CET time zone,
and result is the same (my data is one hour late).
I found this page:

http://people.ee.ethz.ch/~oetiker/webtools/rrdtool/perlbind/RRDs.html

If you are manipulating the TZ variable you should also call the posixs 
function tzset to initialize all internal state of the library for 
properly operating in the timezone of your choice.

use POSIX qw(tzset);
$ENV{TZ} = 'CET';
POSIX::tzset();

and used this code - the problem is that my rrdfiles are feeded from
flowscan perl script, and I don't know if I implemented this TZ code
in right way inside its modules (CampusIO.pm). This is a big problem
for me, and any help will be appreciated.

Best regards,
Robert

U¿ytkownik Chitman Kaur napisa³:
> Put this line in the beginning of your perl file which creats the graph....
> 
> $ENV{'TZ'} = "GMT";
> Hope this works......
> 
> Chitman
> Robert Heber wrote:
> Hello,
>
> I'm looking for information about possibility
> of changing time values in rrd files while
> drawing graphs. I want to change x axis values
> below graph to adjust my data to correct time
> zone. Now I've one hour gap at the end of graph
> between now - 1 hour and now.
>
> Could anybody here help me ?
>
> Regards,
> Robert

--
Unsubscribe mailto:[EMAIL PROTECTED]
Help mailto:[EMAIL PROTECTED]
Archive http://www.ee.ethz.ch/~slist/rrd-users
WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi


---------------------------------
Do you Yahoo!?
Free Pop-Up Blocker - Get it now

--
Unsubscribe mailto:[EMAIL PROTECTED]
Help        mailto:[EMAIL PROTECTED]
Archive     http://www.ee.ethz.ch/~slist/rrd-users
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi

Reply via email to