adTrapInformHostStatus
ADTRAN-GENTRAPINFORM-MIB ·
.1.3.6.1.4.1.664.5.16.2.1.1.8
Object
The NMS sets this object to 'createRequest' to establish a new trap host, sets any other columnar instances as needed, and then sets this object to 'valid' to initiate its operation. This can all be done in one PDU. If all default values are acceptable, the NMS can create this row by simply setting this single object to 'valid'. The NMS sets this object to 'invalid' to remove this row and terminate trap reporting to this host.
Context
- MIB
- ADTRAN-GENTRAPINFORM-MIB
- OID
.1.3.6.1.4.1.664.5.16.2.1.1.8- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- adTrapInformHostEntry
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 'ADTRAN-GENTRAPINFORM-MIB' -M '/opt/observium/mibs/adtran:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'ADTRAN-GENTRAPINFORM-MIB::adTrapInformHostStatus'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'ADTRAN-GENTRAPINFORM-MIB' -M '/opt/observium/mibs/adtran:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'ADTRAN-GENTRAPINFORM-MIB::adTrapInformHostStatus.<adTrapInformHostIP>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'ADTRAN-GENTRAPINFORM-MIB' -M '/opt/observium/mibs/adtran:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'ADTRAN-GENTRAPINFORM-MIB::adTrapInformHostStatus'
Syntax
- Source
- ADTRAN-TCEntryStatus
- Base type
Enumeration
Values & Constraints
Type Values
1 | valid |
2 | createRequest |
3 | underCreation |
4 | invalid |