[prev in list] [next in list] [prev in thread] [next in thread] 

List:       rrd-users
Subject:    Re: [rrd-users] Graphing last_ds for a COUNTER?
From:       "Alex van den Bogaerdt" <alex () vandenbogaerdt ! nl>
Date:       2011-09-12 12:17:14
Message-ID: 62063.120.29.99.50.1315829834.squirrel () webmail ! argewebhosting ! nl
[Download RAW message or body]

> Hello everybody,
>
> I've got a COUNTER in my rrd file, and I'd like to print the last value
> via GPRINT, too.
> "rrdtool info" shows the number as "last_ds", but how can I get this via
> DEF/VDEF?
>
> I hope this is possible now, in 2006 there's been no answer:
>   https://lists.oetiker.ch/pipermail/rrd-users/2006-July/011434.html

I don't think this is built in.  VDEF would be a nice mechanism to get it,
but so far nobody programmed it and nobody sponsored me to do it.

No problem. As always:

Get the number (e.g. using rrdtool dump), then use it in your rrdtool
graph command inside the GPRINT command, just like you would print "hello,
world".

Yes, this means calling rrdtool twice.

HTH
Alex

_______________________________________________
rrd-users mailing list
rrd-users@lists.oetiker.ch
https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic