hpnsaRestartSNMP
HPNSATRAPCFG-MIB ·
.1.3.6.1.4.1.11.2.23.13.3.3
Object
scalar mandatory
Enumeration
Returns whether or not the SNMP service needs to be restarted in order for changes to SNMP trap destination list to take effect
Context
- MIB
- HPNSATRAPCFG-MIB
- OID
.1.3.6.1.4.1.11.2.23.13.3.3- Type
- scalar
- Access
- readonly
- Status
- mandatory
- Parent
- hpnsaTrapTargetCfg
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 'HPNSATRAPCFG-MIB' -M '/opt/observium/mibs/hp:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HPNSATRAPCFG-MIB::hpnsaRestartSNMP.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HPNSATRAPCFG-MIB' -M '/opt/observium/mibs/hp:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HPNSATRAPCFG-MIB::hpnsaRestartSNMP'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | noActionNeeded |
2 | restartSNMP |