Ethtool Command Monitoring

Ethtool is a standard utility program that can be used from a shell to control, or gather information from NICs using the ethtool userspace API. In the Information technology community, the term ethtool is usually used to refer to this utility program.

Why use an Ethtool Telegraf Plugin?

Gathering metrics on your Ethernet devices connected to your Linux system can help you troubleshoot Ethernet-card-related problems on a Linux system.

How to monitor using the Ethtool Telegraf Plugin

The Ethtool Telegraf Plugin pulls ethernet device stats. Metrics pulled are dependent on the network device and driver. Configuration of this input plugin is simple: list the metrics you want or you want to ignore. Once you have set this configuration, then point the Telegraf plugin to your InfluxDB instance to start gathering metrics.

Key Ethtool metrics to use for monitoring

Some of the important Ethtool metrics that you should proactively monitor include:

  • tx_packets:
  • rx_packets:
  • tx_errors:
  • rx_errors:
  • rx_missed:
  • align_errors:
  • tx_single_collisions:
  • tx_multi_collisions:
  • unicast:
  • broadcast:
  • multicast:
  • tx_aborted:
  • tx_underrun:
For more information, please check out the documentation.

Project URL   Documentation

Related resources