[Orca-users] Problem with timestamp

Blair Zajac blair at orcaware.com
Tue Dec 26 08:17:01 PST 2006


On Dec 26, 2006, at 7:26 AM, cybernet_ -- wrote:

> Hi,
>
> i'm using orca with interval 86400 (24 hours) because the data that  
> i am
> using is created once a day.
>
> But Orca doesn't seem to store the data at the right timestamp.
>
> in my datafile there are 3 entry :
>
> timestamp data
> 1166757240 20.00
> 1166843640 20.00
> 1166930093 20.00
>
> (timestamps are dec 21, 22 and 23 at 22h14 EST)
>
> but on the graph and when using rrdtool fetch the timestamps are  
> not ok
>
> 1166832000:  2.0000000000e+01
> 1166918400:  2.0000000000e+01
>
> timestamps are dec 22 and 23 at 19h00 EST
>
> can anyone help me out, thanks

All intervals are based off of midnight GMT time, not local time.

$ TZ=GMT irb
irb(main):001:0> Time.at(1166832000)
=> Sat Dec 23 00:00:00 GMT 2006

So that's why they don't appear at midnight EST.

Regards,
Blair





More information about the Orca-users mailing list