ntwsDeviceId
NTWS-TRAP-MIB ·
.1.3.6.1.4.1.45.6.1.2.1
Object
scalar ObjectIdentifier
Enumeration of devices as indicated in registration MIB. This object is used within notifications and is not accessible.
Context
- MIB
- NTWS-TRAP-MIB
- OID
.1.3.6.1.4.1.45.6.1.2.1- Type
- scalar
- Access
- notifyonly
- Status
- current
Net-SNMP examples
How SNMP and these commands workScalars have one instance, identified by the .0 suffix.
Read the scalar instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'NTWS-TRAP-MIB' -M '/opt/observium/mibs/nortel:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'NTWS-TRAP-MIB::ntwsDeviceId.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'NTWS-TRAP-MIB' -M '/opt/observium/mibs/nortel:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'NTWS-TRAP-MIB::ntwsDeviceId'
Syntax
ObjectIdentifier
Values & Constraints
No enumerated values or constraints recorded.