[collectd] Collectd on RedHat with virtuall network devices !
octo at verplant.org
Sun Mar 12 01:38:22 CET 2006
On Sat, Mar 11, 2006 at 08:36:14PM +0100, Michael Theurl wrote:
> The main problem is the only rrd file for the eth1 interface have
> collected the bits !
> the other rrd are created but the rrd database is zero. I use the
> "traffic" file from the contrib folder.
> As a sample i checked the database state with "rrdtool info
that displays information about the database `layout' only. To check the
values stored in this layout use something like this:
-- 8< --
octo at alice:~/build $ rrdtool fetch /var/lib/collectd/leeloo.lan.home.verplant.org/traffic-eth0.rrd AVERAGE -s -300
timestamp incoming outgoing
1142123100: 1.9956200000e+03 2.0372000000e+03
1142123160: 1.7583166667e+03 1.0541666667e+03
1142123220: 2.0173090909e+03 1.1511803030e+03
1142123280: 5.8442757576e+02 6.6627136364e+02
1142123340: 2.1038875758e+03 7.8401954545e+02
1142123400: 8.6518242424e+02 6.5879878788e+02
1142123460: 5.9996000000e+02 7.5366666667e+02
-- >8 --
If many `NaN's (Not a Number) are displayed, somethings is going wrong.
If there are just many very small values, it's likely working..
> is it Possible that the collectd have some problems with virtual
> network devices ?
collectd simply reads and interprets the content of </proc/net/dev>
(when running on Linux, that is). Take a look at that file and check if
the interfaces you're interested in are listed here. If the interface is
a virtual interface or a physical one doesn't matter, as long as it's
listed here (and doesn't contain a colon..).
> here my collectd.conf:
The config looks okay..
> Is there a sollution for this problem ?
Check the two points above and send what you found out, and there'll be
a good chance we'll get this sorted out ;)
Florian octo Forster
Hacker in training
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 189 bytes
Desc: Digital signature
Url : http://mailman.verplant.org/pipermail/collectd/attachments/20060312/0ec7648c/attachment.pgp
More information about the Collectd