nsExtendRunType
NET-SNMP-EXTEND-MIB ·
.1.3.6.1.4.1.8072.1.3.2.2.1.7
Object
column r/w
Enumeration
Used to implement 'push-button' command invocation. The command for a 'run-on-read' entry will be invoked whenever one of the corresponding output-related instances is requested (and assuming the cached value is not still current). The command for a 'run-on-set' entry will only be invoked on receipt of a SET assignment for this object with the value 'run-command'. Reading an instance of this object will always return either 'run-on-read' or 'run-on-set'.
Context
- MIB
- NET-SNMP-EXTEND-MIB
- OID
.1.3.6.1.4.1.8072.1.3.2.2.1.7- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- nsExtendConfigEntry
- Groups
- 1
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 'NET-SNMP-EXTEND-MIB' -M '/opt/observium/mibs/net-snmp:/opt/observium/mibs/rfc' 'udp:<hostname>:161' 'NET-SNMP-EXTEND-MIB::nsExtendRunType'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'NET-SNMP-EXTEND-MIB' -M '/opt/observium/mibs/net-snmp:/opt/observium/mibs/rfc' 'udp:<hostname>:161' 'NET-SNMP-EXTEND-MIB::nsExtendRunType.<nsExtendToken>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'NET-SNMP-EXTEND-MIB' -M '/opt/observium/mibs/net-snmp:/opt/observium/mibs/rfc' 'NET-SNMP-EXTEND-MIB::nsExtendRunType'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | run-on-read |
2 | run-on-set |
3 | run-command |
Conformance
Member of