sfpDiagTxPower
OBS ✓
ASAM-SFP-MIB ·
.1.3.6.1.4.1.637.61.1.56.5.1.6
Object
A column in the sfpDiagTable, containing the freshly-measured
transmit power of the specified SFP, encoded into a string.
Five types of values are supported. In the following text,
strings are enclosed in single quotes (a double quote marks the
end of the DESCRIPTION field).
1. '-40.00 dBm' to '8.16 dBm', in 0.01 dBm increments. Note
that ' dBm' is included in the string.
2. 'No Power'. This is a special case because an SFP reading
of 0.00 mW cannot be converted to dBm (since log10(0.00) is
undefined).
3. 'Not Applicable'. This is used for an electrical SFP. The
technology for measuring transmitted power is optical.
4. 'Not Available'. The measurement could not be obtained
(e.g. the specified SFP cage is empty).
5. 'Invalid'. The transmitted power, in mW, is negative (for example,
due to incorrect external calibration constants in the SFP). A
negative mW value is not valid in this context, and cannot be
converted to dBm.
ALCATEL NOTE:
ACCESS: RO
USAGE: NA
PERSIST: NO
INSRVMOD: NO
RANGE: NA
DEFVALUE: NA
UNITS: NA
SPARSE: NO
DESCR: NA
Observium directly uses this object
This object is referenced by an Observium discovery or polling workflow.
Used in:
Sensors
Explore Observium network monitoring
Context
- MIB
- ASAM-SFP-MIB
- OID
.1.3.6.1.4.1.637.61.1.56.5.1.6- Type
- column
- Access
- readonly
- Status
- mandatory
- Parent
- sfpDiagEntry
Net-SNMP examples
How SNMP and these commands workWalk the column to discover its indexed instances, or supply every index to read one instance.
Walk the column
/usr/bin/snmpbulkwalk -v2c -c '<community>' -Pud -Ir -OQUs -m 'ASAM-SFP-MIB' -M '/opt/observium/mibs/alcatel:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'ASAM-SFP-MIB::sfpDiagTxPower'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'ASAM-SFP-MIB' -M '/opt/observium/mibs/alcatel:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'ASAM-SFP-MIB::sfpDiagTxPower.<sfpDiagLogicalSlot>.<sfpDiagSfpFaceplateNumber>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'ASAM-SFP-MIB' -M '/opt/observium/mibs/alcatel:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'ASAM-SFP-MIB::sfpDiagTxPower'
Syntax
- Source
- SNMPv2-TCDisplayString
- Base type
OctetString- Display format
255a
Type Description
Represents textual information taken from the NVT ASCII
character set, as defined in pages 4, 10-11 of RFC 854.
To summarize RFC 854, the NVT ASCII repertoire specifies:
- the use of character codes 0-127 (decimal)
- the graphics characters (32-126) are interpreted as
US ASCII
- NUL, LF, CR, BEL, BS, HT, VT and FF have the special
meanings specified in RFC 854
- the other 25 codes have no standard interpretation
- the sequence 'CR LF' means newline
- the sequence 'CR NUL' means carriage-return
- an 'LF' not preceded by a 'CR' means moving to the
same column on the next line.
- the sequence 'CR x' for any x other than LF or NUL is
illegal. (Note that this also means that a string may
end with either 'CR LF' or 'CR NUL', but not with CR.)
Any object defined using this syntax may not exceed 255
characters in length.
Values & Constraints
Type Constraints
range: 0..255