This plugin has been extended to be able to gather the metrics from ethtool -m, e.g.:
[root@node4 snap_test]# ethtool -m enp4s0f1
Identifier : 0x03 (SFP)
Extended identifier : 0x04 (GBIC/SFP defined by 2-wire interface ID)
Connector : 0x07 (LC)
Transceiver codes : 0x10 0x00 0x00 0x01 0x00 0x00 0x00 0x00
Transceiver type : 10G Ethernet: 10G Base-SR
Transceiver type : Ethernet: 1000BASE-SX
Encoding : 0x06 (64B/66B)
BR, Nominal : 10300MBd
Rate identifier : 0x00 (unspecified)
Length (SMF,km) : 0km
Length (SMF) : 0m
Length (50um) : 80m
Length (62.5um) : 30m
Length (Copper) : 0m
Length (OM3) : 300m
Laser wavelength : 850nm
Vendor name : Intel Corp
Vendor OUI : 00:1b:21
Vendor PN : AFBR-703SDZ-IN2
Vendor rev : G2.3
Optical diagnostics support : Yes
Laser bias current : 18.672 mA
Laser output power : 0.5618 mW / -2.50 dBm
Receiver signal average optical power : 0.5051 mW / -2.97 dBm
Module temperature : 36.47 degrees C / 97.64 degrees F
Module voltage : 3.2278 V
Alarm/warning flags implemented : Yes
Laser bias current high alarm : Off
Laser bias current low alarm : Off
Laser bias current high warning : Off
Laser bias current low warning : Off
Laser output power high alarm : Off
Laser output power low alarm : Off
Laser output power high warning : Off
Laser output power low warning : Off
Module temperature high alarm : Off
Module temperature low alarm : Off
Module temperature high warning : Off
Module temperature low warning : Off
Module voltage high alarm : Off
Module voltage low alarm : Off
Module voltage high warning : Off
Module voltage low warning : Off
Laser rx power high alarm : Off
Laser rx power low alarm : Off
Laser rx power high warning : Off
Laser rx power low warning : Off
Laser bias current high alarm threshold : 10.500 mA
Laser bias current low alarm threshold : 2.500 mA
Laser bias current high warning threshold : 10.500 mA
Laser bias current low warning threshold : 2.500 mA
Laser output power high alarm threshold : 2.0000 mW / 3.01 dBm
Laser output power low alarm threshold : 0.0600 mW / -12.22 dBm
Laser output power high warning threshold : 0.7900 mW / -1.02 dBm
Laser output power low warning threshold : 0.0850 mW / -10.71 dBm
Module temperature high alarm threshold : 85.00 degrees C / 185.00 degrees F
Module temperature low alarm threshold : -5.00 degrees C / 23.00 degrees F
Module temperature high warning threshold : 80.00 degrees C / 176.00 degrees F
Module temperature low warning threshold : 0.00 degrees C / 32.00 degrees F
Module voltage high alarm threshold : 3.6000 V
Module voltage low alarm threshold : 3.0000 V
Module voltage high warning threshold : 3.4600 V
Module voltage low warning threshold : 3.1300 V
Laser rx power high alarm threshold : 2.0000 mW / 3.01 dBm
Laser rx power low alarm threshold : 0.0000 mW / -inf dBm
Laser rx power high warning threshold : 0.7900 mW / -1.02 dBm
Laser rx power low warning threshold : 0.0200 mW / -16.99 dBm
A few drivers such as IXGBE support exposing optical transceivers (SFP, SFP+, or XFP) information. The information is known as digital optical monitoring (DOM) information.
In this version of plugin metrics are available in namespaces (3 groups) as below:
PR is related to community issue (https://github.com/intelsdi-x/snap-plugin-collector-ethtool/issues/5)
This plugin has been extended to be able to gather the metrics from
ethtool -m
, e.g.:A few drivers such as IXGBE support exposing optical transceivers (SFP, SFP+, or XFP) information. The information is known as digital optical monitoring (DOM) information.
In this version of plugin metrics are available in namespaces (3 groups) as below:
/intel/net/<driver name>/<device name>/nic/<metric name>
(from cmdethtool -S
, interface statistics)/intel/net/<driver name>/<device name>/reg/<metric name>
(from cmdethtool -d
, register dump)/intel/net/<driver name>/<device name>/dom/<metric name>
(from cmdethtool -m
, digital optical monitoring)Example:
Sample output (from "pulsectl task watch"):