mirror of
https://github.com/prometheus/node_exporter.git
synced 2025-01-06 11:27:40 -08:00
26ca609183
Add a `node_ethtool_info` metric to all ethtool devices to expose driver information with following labels: * bus_info * driver * expansion_rom_version * firmware_version * version This metric is useful to monitor the firmware version to be up-to-date. Note: The version label might be malformed due to bug #39 in ethtool: https://github.com/safchain/ethtool/issues/39 Signed-off-by: Benjamin Drung <benjamin.drung@ionos.com>
16 lines
330 B
Plaintext
16 lines
330 B
Plaintext
# ethtool -S eth0
|
|
NIC statistics:
|
|
tx_packets: 961500
|
|
rx_packets: 1260062
|
|
tx_errors: 0
|
|
rx_errors: 0
|
|
rx_missed: 401
|
|
align_errors: 0
|
|
tx_single_collisions: 0
|
|
tx_multi_collisions: 0
|
|
rx_unicast: 1230297
|
|
rx_broadcast: 5792
|
|
rx_multicast: 23973
|
|
tx_aborted: 0
|
|
tx_underrun: 0
|