Skip to content

collectors NetworkCollector

Rob Smith edited this page Oct 29, 2012 · 20 revisions

NetworkCollector

The NetworkCollector class collects metrics on network interface usage using /proc/net/dev.

Dependencies

  • /proc/net/dev

Options - Generic Options

Setting Default Description Type
byte_unit megabit, megabyte, Default numeric output(s) list
enabled False Enable collecting these metrics bool
greedy true Greedy match interfaces str
interfaces eth, bond, List of interface types to collect list
measure_collector_time False Collect the collector run time in ms bool

Example Output

servers.hostname.network.eth0.rx_megabyte (2.504, 2)
servers.hostname.network.eth0.tx_megabyte (4.707, 2)
servers.hostname.network.eth1.rx_megabyte (0.0, 2)
servers.hostname.network.eth1.tx_megabyte (0.0, 2)
Clone this wiki locally