[collectd] tail plugin - how to generate counter graphs

Daniel Hilst danielhilst at gmail.com
Thu Apr 5 11:38:13 CEST 2012


I'm using tail to count matches on a file. When I do `watch  rrdtool 
lastupdate counter-total.rrd' I got the right numbers. But when I create 
the graph[1] I got an m on Y axis. What is this? Megabytes?

I can see on tail plugin page graphs showing counters as I expect, how 
you guys have generated that graphs???

I have used this line to generate my graph
rrdtool graph /home/geckos/tail-graph.png \
DEF:value=/opt/collectd/var/lib/collectd/localhost/tail-table_test/counter-total.rrd:value:AVERAGE 
\
AREA:value#000000:foo -s -1h

Here is what I got:
[1] http://imageshack.us/photo/my-images/27/tailgraph.png/

[]'s

-- 
Follow the white rabbit!



More information about the collectd mailing list