mirror of
https://github.com/prometheus/node_exporter.git
synced 2025-01-03 09:57:47 -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>
12 lines
256 B
Plaintext
12 lines
256 B
Plaintext
# ethtool -i eth0
|
|
driver: e1000e
|
|
version: 5.11.0-22-generic
|
|
firmware-version: 0.5-4
|
|
expansion-rom-version:
|
|
bus-info: 0000:00:1f.6
|
|
supports-statistics: yes
|
|
supports-test: yes
|
|
supports-eeprom-access: yes
|
|
supports-register-dump: yes
|
|
supports-priv-flags: yes
|