[rrd-users] How can i get <last_ds> counter value from rrd file?
BenBE at geshi.org
Thu Oct 1 16:20:22 CEST 2009
Am 01.10.2009 12:12, schrieb jayashree:
> I am interested in getting the counter value stored in <last_ds> in the rrd
> file. Any rrd function which can help me?
rrd_info, rrd_lastupdate, in extreme cases even rrd_dump.
> The idea is, i dont have response from the router at a certain point and I
> want to log a zero in my graph. So to achieve this, I am trying to get the
> last counter value stored in <last_ds> in my rrd file. If there is a better
> way to handle this problem of updating my rrd file with a '0' when i dont
> have response from the device, please let me know.
A much better ay to do this would be having rrd_tool handle this and
"fixing" those unknown values when graphing or fetching data. There are
many examples on how to do this on the RRD homepage.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 833 bytes
Desc: OpenPGP digital signature
Url : http://lists.oetiker.ch/pipermail/rrd-users/attachments/20091001/fe3c21ca/attachment.pgp
More information about the rrd-users