[collectd] Problem with plugin-libvirt
richard -rw- weinberger
richard.weinberger at gmail.com
Sat Dec 31 19:58:29 CET 2011
Hi!
I'm using collectd 4.10.3 and the libvirt plugin.
The produced rrd files contains quite strange values.
Here the first few lines from rrdinfo dump.
Why is the first clolumn (read) always 0?
I can confirm that the last_ds values are correct, I've verified it using virsh.
But all other values make absolutely no sense.
---cut---
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE rrd SYSTEM "http://oss.oetiker.ch/rrdtool/rrdtool.dtd">
<!-- Round Robin Database Dump --><rrd> <version> 0003 </version>
<step> 10 </step> <!-- Seconds -->
<lastupdate> 1325357456 </lastupdate> <!-- 2011-12-31 19:50:56 CET -->
<ds>
<name> read </name>
<type> COUNTER </type>
<minimal_heartbeat> 20 </minimal_heartbeat>
<min> 0.0000000000e+00 </min>
<max> 1.7179869183e+10 </max>
<!-- PDP Status -->
<last_ds> 21385290752 </last_ds>
<value> 0.0000000000e+00 </value>
<unknown_sec> 0 </unknown_sec>
</ds>
<ds>
<name> write </name>
<type> COUNTER </type>
<minimal_heartbeat> 20 </minimal_heartbeat>
<min> 0.0000000000e+00 </min>
<max> 1.7179869183e+10 </max>
<!-- PDP Status -->
<last_ds> 7545725952 </last_ds>
<value> 2.2118400000e+04 </value>
<unknown_sec> 0 </unknown_sec>
</ds>
<!-- Round Robin Archives --> <rra>
<cf> AVERAGE </cf>
<pdp_per_row> 1 </pdp_per_row> <!-- 10 seconds -->
<params>
<xff> 1.0000000000e-01 </xff>
</params>
<cdp_prep>
<ds>
<primary_value> 0.0000000000e+00 </primary_value>
<secondary_value> 0.0000000000e+00 </secondary_value>
<value> NaN </value>
<unknown_datapoints> 0 </unknown_datapoints>
</ds>
<ds>
<primary_value> 3.9321600000e+03 </primary_value>
<secondary_value> 0.0000000000e+00 </secondary_value>
<value> NaN </value>
<unknown_datapoints> 0 </unknown_datapoints>
</ds>
</cdp_prep>
<database>
<!-- 2011-12-31 16:31:00 CET / 1325345460 -->
<row><v> 0.0000000000e+00 </v><v> 4.0140800000e+03 </v></row>
<!-- 2011-12-31 16:31:10 CET / 1325345470 -->
<row><v> 0.0000000000e+00 </v><v> 5.2428800000e+03 </v></row>
<!-- 2011-12-31 16:31:20 CET / 1325345480 -->
<row><v> 0.0000000000e+00 </v><v> 4.7513600000e+03 </v></row>
<!-- 2011-12-31 16:31:30 CET / 1325345490 -->
<row><v> 0.0000000000e+00 </v><v> 4.0140800000e+03 </v></row>
<!-- 2011-12-31 16:31:40 CET / 1325345500 -->
<row><v> 0.0000000000e+00 </v><v> 3.7683200000e+03 </v></row>
<!-- 2011-12-31 16:31:50 CET / 1325345510 -->
<row><v> 0.0000000000e+00 </v><v> 4.0140800000e+03 </v></row>
<!-- 2011-12-31 16:32:00 CET / 1325345520 -->
<row><v> 0.0000000000e+00 </v><v> 3.9321600000e+03 </v></row>
<!-- 2011-12-31 16:32:10 CET / 1325345530 -->
<row><v> 0.0000000000e+00 </v><v> 4.8332800000e+03 </v></row>
<!-- 2011-12-31 16:32:20 CET / 1325345540 -->
<row><v> 0.0000000000e+00 </v><v> 4.4236800000e+03 </v></row>
<!-- 2011-12-31 16:32:30 CET / 1325345550 -->
<row><v> 0.0000000000e+00 </v><v> 4.0140800000e+03 </v></row>
<!-- 2011-12-31 16:32:40 CET / 1325345560 -->
<row><v> 0.0000000000e+00 </v><v> 3.7683200000e+03 </v></row>
<!-- 2011-12-31 16:32:50 CET / 1325345570 -->
<row><v> 0.0000000000e+00 </v><v> 4.1779200000e+03 </v></row>
<!-- 2011-12-31 16:33:00 CET / 1325345580 -->
<row><v> 0.0000000000e+00 </v><v> 4.5875200000e+03 </v></row>
<!-- 2011-12-31 16:33:10 CET / 1325345590 -->
<row><v> 0.0000000000e+00 </v><v> 4.8332800000e+03 </v></row>
---cut---
--
Thanks,
//richard
More information about the collectd
mailing list