Hi Alex,

> What you can do is:
> * get the current time
> * get the last update time
> * get the amount of seconds per RRA row (e.g. 288*300=86400)
> * compute the update time from this, e.g. an integer division followed by a 
> multiplication: $last_update/86400*86400
> * rrdtool graph using the time you collected as end time, use the information 
> collected in the previous step to inform your users

Thanks, this works fine fine - I am using "rrdtool last <RRD>" before
my call to "graph" which I am assuming is the best way to get the last
update time?

/Chris

_______________________________________________
rrd-users mailing list
[email protected]
https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users

Reply via email to