[rrd-users] Re: Wrong values from rrd fetch
Stephan Harren
sh at abovenet.de
Tue Oct 7 10:55:41 MEST 2003
> 920804400: nan
> 920804460: 1.2000000000e+01
> 920804520: 1.3966666667e+01
> 920804580: 1.2166666667e+00
> 920804640: 7.8833333333e+00
> 920804700: 7.0166666667e+00
> 920804760: 6.0166666667e+00
> 920804820: 2.0666666667e+00
> 920804880: 2.1666666667e+01
> 920804940: 2.2983333333e+01
> 920805000: 2.3983333333e+01
> 920805060: nan
>
> I think that this is the same problem like David Knecht had but I don`t
> know how to correct it , to get 24 instead 23,98333......
>
Normalize the timestamp:
timestamp_to_use=int(timestamp_now/60)*60
or
timestamp_to_use=sprintf("%.0f",(timestamp_now/60))*60
Best regards and HTH,
Stephan
--
Stephan Harren
Manager Site Operations
AboveNet Deutschland GmbH
-------------------------------
Phone +49 69 90554 153
Fax +49 69 90554 111
Cell +49 173 7011126
--
Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe
Help mailto:rrd-users-request at list.ee.ethz.ch?subject=help
Archive http://www.ee.ethz.ch/~slist/rrd-users
WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi
More information about the rrd-users
mailing list