Hi folks,
I'm trying to get RRDtool to show me the last sample it grabbed.
My database sez:
rrdtool create hostname.rrd \
DS:input:COUNTER:600:U:U \
DS:output:COUNTER:600:U:U \
RRA:AVERAGE:0.5:1:600 RRA:MAX:0.5:1:600 RRA:LAST:0.5:1:600
My graph command says:
DEF:inoctets=/home/noctools/rrd-datasets/internap-seattle1.rrd:input:AVERAGE \
DEF:outoctets=/home/noctools/rrd-datasets/internap-seattle1.rrd:output:AVERAGE \
AREA:inoctets#00FF00:"Inbound Traffic" \
AREA:outoctets#0000FF:"Outbound Traffic" \
GPRINT:inoctets:LAST:"Current Inbound: %lf KB" \
GPRINT:outoctets:LAST:"Current Outbound: %lf KB"');
Even when I create separate defs for the LAST RRA, it doesn't show up right.
My insertion looks like:
/usr/bin/rrdtool update /home/noctools/rrd-datasets/$host.rrd N:$invar:$outvar
Everything else works.
Some help would be greatly appreciated.
Thanks,
Tim
--
Unsubscribe mailto:[EMAIL PROTECTED]
Help mailto:[EMAIL PROTECTED]
Archive http://www.ee.ethz.ch/~slist/rrd-users
WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi