collect DOM-data

Bug #1571030 reported by Gro-Anita Vindheim
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Network Administration Visualized
New
Wishlist
Unassigned

Bug Description

NAV should collect DOM-data from switchports (especially HP).

The DOM-data statistics should be displayed in the port details page.

Revision history for this message
Knut-Helge Vindheim (knut-helge-vindheim) wrote :
Download full text (7.1 KiB)

To collect DOM data from HP Procurve switches examples HP2920, 3500, 5400 you first has to update the data using the oid "hpicfXcvrDiagnosticsUpdate"

# Update the snmp DOM-data:
--------------------------

$ snmptranslate -m all -Ln -TdB hpicfXcvrDiagnosticsUpdate
HP-ICF-TRANSCEIVER-MIB::hpicfXcvrDiagnosticsUpdate
hpicfXcvrDiagnosticsUpdate OBJECT-TYPE
  -- FROM HP-ICF-TRANSCEIVER-MIB
  -- TEXTUAL CONVENTION TruthValue
  SYNTAX INTEGER {true(1), false(2)}
  MAX-ACCESS read-write
  STATUS current
  DESCRIPTION "This object will cause specific actions
                  depending on the diagnostic support of the
                  transceiver.

                  Transceiver Diagnostic support:

                  None : No action taken.
                  DOM : Will update diagnostic information
                          for the transceiver.
                  VCT : Will update diagnostic information
                          for the transceiver.
                  Other : Vendor specific.

                  The value of the object will be reset after
                  the completion of the update.

                  Please note: VCT and other (cable-diagnostics)
                  may cause a loss of link and take a few second
                  to run for each interface."
::= { iso(1) org(3) dod(6) internet(1) private(4) enterprises(1) hp(11) nm(2) icf(14) hpicfObjects(11) hpicfSwitch(5) hpSwitch(1) hpicfTransceiverMIB(82) hpicfXcvrObjects(1) hpicfXcvrInfo(1) hpicfXcvrInfoTable(1) hpicfXcvrInfoEntry(1) 10 }

snmpset -c<write-password> -v2c rfb-413-sw .1.3.6.1.4.1.11.2.14.11.5.1.82.1.1.1.1.10.46 i 1

or

snmpset -c<write-password> -v2c rfb-413-sw HP-ICF-TRANSCEIVER-MIB::hpicfXcvrDiagnosticsUpdate.46 i 1

When the data are updatet you can collect the data.

An example of collecting the DOM data from the sfp in port B22 on the switch rfb-413-sw

$ snmpwalk -c<read-password> -v2c -m all -Ln rfb-413-sw hpicfTransceiverMIB

or

$ snmpwalk -c<read-password> -v2c -m all -Ln rfb-413-sw .1.3.6.1.4.1.11.2.14.11.5.1.82
HP-ICF-TRANSCEIVER-MIB::hpicfXcvrPortIndex.46 = INTEGER: 46
HP-ICF-TRANSCEIVER-MIB::hpicfXcvrPortDesc.46 = STRING: B22
HP-ICF-TRANSCEIVER-MIB::hpicfXcvrModel.46 = STRING: NON-HP
HP-ICF-TRANSCEIVER-MIB::hpicfXcvrSerial.46 = STRING: F121113003
HP-ICF-TRANSCEIVER-MIB::hpicfXcvrType.46 = STRING: SFP+LRM
HP-ICF-TRANSCEIVER-MIB::hpicfXcvrConnectorType.46 = STRING: LC
HP-ICF-TRANSCEIVER-MIB::hpicfXcvrWavelength.46 = STRING: 1310nm
HP-ICF-TRANSCEIVER-MIB::hpicfXcvrTxDist.46 = STRING: 220m (50um), 220m (62.5um), 220m (50um OM3),
HP-ICF-TRANSCEIVER-MIB::hpicfXcvrDiagnostics.46 = INTEGER: dom(1)
HP-ICF-TRANSCEIVER-MIB::hpicfXcvrDiagnosticsUpdate.46 = INTEGER: false(2)
HP-ICF-TRANSCEIVER-MIB::hpicfXcvrTemp.46 = INTEGER: 40113 thousandths of degrees Celsius
HP-ICF-TRANSCEIVER-MIB::hpicfXcvrVoltage.46 = Gauge32: 32452 hundreds of microvolts
HP-ICF-TRANSCEIVER-MIB::hpicfXcvrBias.46 = Gauge32: 30330 microamps
HP-ICF-TRANSCEIVER-MIB::hpicfXcvrTxPower.46 = INTEGER: -1897 thousandths of dBm
HP-ICF-TRANSCEIVER-MIB::hpicfXcvrRxPower.46 = INTEGER: -5818 thousandths of dBm
HP-ICF-TRANSCEIVER-MIB::hpicfXcvrAlarms.46 = BITS: 00...

Read more...

Changed in nav:
importance: Undecided → Wishlist
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.