Juniper SNMP OIDs DDM for optical signal transceivers

I will give an example of receiving an optical signal via SNMP from optical transceivers connected to Juniper devices.

For example, I’ll take the QFX5100 and MX204, first with the command we’ll look at the optical signal on the transceiver and other information (I have a 40G transceiver connected to the et-0/0/0 port, which uses 2 optical fibers and 4 lines at different wavelengths):

show interfaces diagnostics optics et-0/0/0
show interfaces diagnostics optics et-0/0/0 | match "Laser receiver power"
...
  Lane 0
    Laser bias current                        :  39.166 mA
    Laser output power                        :  1.423 mW / 1.53 dBm
    Laser receiver power                      :  0.662 mW / -1.79 dBm
  Lane 1
    Laser bias current                        :  33.344 mA
    Laser output power                        :  1.439 mW / 1.58 dBm
    Laser receiver power                      :  0.598 mW / -2.23 dBm
  Lane 2
    Laser bias current                        :  33.071 mA
    Laser output power                        :  1.256 mW / 0.99 dBm
    Laser receiver power                      :  0.550 mW / -2.59 dBm
  Lane 3
    Laser bias current                        :  35.768 mA
    Laser output power                        :  1.328 mW / 1.23 dBm
    Laser receiver power                      :  0.663 mW / -1.78 dBm

Full command output:

show interfaces diagnostics optics et-0/0/0
Physical interface: et-0/0/0
    Module temperature                        :  24 degrees C / 74 degrees F
    Module voltage                            :  3.2650 V
    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
    Module temperature high alarm threshold   :  78 degrees C / 172 degrees F
    Module temperature low alarm threshold    :  -5 degrees C / 23 degrees F
    Module temperature high warning threshold :  75 degrees C / 167 degrees F
    Module temperature low warning threshold  :  0 degrees C / 32 degrees F
    Module voltage high alarm threshold       :  3.6300 V
    Module voltage low alarm threshold        :  2.9700 V
    Module voltage high warning threshold     :  3.4640 V
    Module voltage low warning threshold      :  3.0990 V
    Laser bias current high alarm threshold   :  105.000 mA
    Laser bias current low alarm threshold    :  8.000 mA
    Laser bias current high warning threshold :  105.000 mA
    Laser bias current low warning threshold  :  10.000 mA
    Laser output power high alarm threshold   :  3.3884 mW / 5.30 dBm
    Laser output power low alarm threshold    :  0.0794 mW / -11.00 dBm
    Laser output power high warning threshold :  1.9953 mW / 3.00 dBm
    Laser output power low warning threshold  :  0.1995 mW / -7.00 dBm
    Laser rx power high alarm threshold       :  2.1380 mW / 3.30 dBm
    Laser rx power low alarm threshold        :  0.0170 mW / -17.70 dBm
    Laser rx power high warning threshold     :  1.6982 mW / 2.30 dBm
    Laser rx power low warning threshold      :  0.0427 mW / -13.70 dBm
  Lane 0
    Laser bias current                        :  38.891 mA
    Laser output power                        :  1.406 mW / 1.48 dBm
    Laser receiver power                      :  0.666 mW / -1.76 dBm
    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 receiver power high alarm           :  Off
    Laser receiver power low alarm            :  Off
    Laser receiver power high warning         :  Off
    Laser receiver power low warning          :  Off
    Tx loss of signal functionality alarm     :  Off
    Rx loss of signal alarm                   :  Off
    Tx laser disabled alarm                   :  Off
  Lane 1
    Laser bias current                        :  33.344 mA
    Laser output power                        :  1.443 mW / 1.59 dBm
    Laser receiver power                      :  0.599 mW / -2.23 dBm
    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 receiver power high alarm           :  Off
    Laser receiver power low alarm            :  Off
    Laser receiver power high warning         :  Off
    Laser receiver power low warning          :  Off
    Tx loss of signal functionality alarm     :  Off
    Rx loss of signal alarm                   :  Off
    Tx laser disabled alarm                   :  Off
  Lane 2
    Laser bias current                        :  33.206 mA
    Laser output power                        :  1.270 mW / 1.04 dBm
    Laser receiver power                      :  0.556 mW / -2.55 dBm
    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 receiver power high alarm           :  Off
    Laser receiver power low alarm            :  Off
    Laser receiver power high warning         :  Off
    Laser receiver power low warning          :  Off
    Tx loss of signal functionality alarm     :  Off
    Rx loss of signal alarm                   :  Off
    Tx laser disabled alarm                   :  Off
  Lane 3
    Laser bias current                        :  35.633 mA
    Laser output power                        :  1.335 mW / 1.25 dBm
    Laser receiver power                      :  0.669 mW / -1.74 dBm
    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 receiver power high alarm           :  Off
    Laser receiver power low alarm            :  Off
    Laser receiver power high warning         :  Off
    Laser receiver power low warning          :  Off
    Tx loss of signal functionality alarm     :  Off
    Rx loss of signal alarm                   :  Off
    Tx laser disabled alarm                   :  Off

Let’s look at the interface indexes in advance:

snmpwalk -v2c -c ixnfo.com 10.0.150.2 ifDescr
...
IF-MIB::ifDescr.6 = STRING: lo0
IF-MIB::ifDescr.516 = STRING: irb.0
IF-MIB::ifDescr.517 = STRING: et-0/0/0

As we see et-0/0/0 has index 517, now we get general information on the following SNMP OID:

1.3.6.1.4.1.2636.3.60.1

I have the information displayed (the result needs to be multiplied by 0.01):

RX:
1.3.6.1.4.1.2636.3.60.1.2.1.1.6.517.0 = INTEGER: -178
1.3.6.1.4.1.2636.3.60.1.2.1.1.6.517.1 = INTEGER: -223
1.3.6.1.4.1.2636.3.60.1.2.1.1.6.517.2 = INTEGER: -255
1.3.6.1.4.1.2636.3.60.1.2.1.1.6.517.3 = INTEGER: -179
TX:
1.3.6.1.4.1.2636.3.60.1.2.1.1.8.517.0 = INTEGER: 159
1.3.6.1.4.1.2636.3.60.1.2.1.1.8.517.1 = INTEGER: 160
1.3.6.1.4.1.2636.3.60.1.2.1.1.8.517.2 = INTEGER: 99
1.3.6.1.4.1.2636.3.60.1.2.1.1.8.517.3 = INTEGER: 122
Bias current:
1.3.6.1.4.1.2636.3.60.1.2.1.1.7.517.0 = INTEGER: 39166
1.3.6.1.4.1.2636.3.60.1.2.1.1.7.517.1 = INTEGER: 33344
1.3.6.1.4.1.2636.3.60.1.2.1.1.7.517.2 = INTEGER: 32937
1.3.6.1.4.1.2636.3.60.1.2.1.1.7.517.3 = INTEGER: 35500

Transceiver Temperature (°C):

1.3.6.1.4.1.2636.3.60.1.1.1.1.8.517 = INTEGER: 23

1.3.6.1.4.1.2636.3.60.1.2.1.1.9.517.0 = INTEGER: 23
1.3.6.1.4.1.2636.3.60.1.2.1.1.9.517.1 = INTEGER: 23
1.3.6.1.4.1.2636.3.60.1.2.1.1.9.517.2 = INTEGER: 23
1.3.6.1.4.1.2636.3.60.1.2.1.1.9.517.3 = INTEGER: 23

Voltage (3.2650 V):

1.3.6.1.4.1.2636.3.60.1.1.1.1.25.517 = INTEGER: 3265

Using the example of the SNMP OIDs that I gave, you can write auto-detection in Zabbix so that triggers about a low optical signal and data elements for an optical signal, etc. were created automatically when new transceivers were connected to the ports.

See also my articles:
Juniper QSFP Temperature low warning set
Cisco Nexus SNMP OID for Transceiver
BDCOM OLT DDM SNMP OID

Leave a comment

Leave a Reply