Plugins currently available:

"netlink" plugin

This plugin will open a netlink socket to the Linux kernel and use it to get statistics for interfaces, qdiscs, classes, and, if you can make use of it, filters. Since in most setups many of the statistics this plugin can collect aren't of interest, you can select which information to gather using the configuration. The details are documented in the collectd.conf(5) manpage.

The interface statistics has been split up in two parts:

But extended interface statistics is not all. The netlink-plugin can also gather statistics from Linux' traffic control subsystem, i. e. the bytes and packets that passed a certain qdisc, class, or filter. I'm afraid there is no one sentence answer to what all that is, but there's an article in the LARTC FAQ which tries to explain that. If you have a traffic shaping or QoS setup and you need or want to know how much traffic is going over which qdisc or class, this is the right plugin for you.

Graphing filters is a bit troublesome: Filters don't have an ID of their own, so the parent's ID (i. e. the qdisc or class that filter is attached to) is used. This may not result in a unique name if there is more than one filter attached to that qdisc or class. If you want to get statistics about different traffic types, please have a look at the iptables-plugin.

Example graphs

Sorry that all the error-graphs are empty. If you can share some graphs of (WAN-)links that show a few collisions or CRC-errors or something please let us know.

Example "RX-errors" graph of the netlink plugin
Example "TX-errors" graph of the netlink plugin
Example "bytes" graph of the netlink plugin
Example "packets" graph of the netlink plugin

Dependencies