hpState
HP-SYSTEM-MIB ·
.1.3.6.1.4.1.11.2.3.7.11.17.7.1.1.2.1.4
Object
scalar Enumeration
The current state of the device. A HP ProCurve Networking Business
device can be configured for standalone operation,
Failover (ie with a redundant peer), or for Distribution
of configuration from a controlling central system to
remote entities.
unknown(1) - system Configuration status unknown
up(2) - a standalone system is operational.
down(3) - a system is not operational.
primary(4) - system is running as the primary in
a Failover peer configuration.
secondary(5) - system is running as the backup in
a Failover peer configuration.
Context
- MIB
- HP-SYSTEM-MIB
- OID
.1.3.6.1.4.1.11.2.3.7.11.17.7.1.1.2.1.4- Type
- scalar
- Access
- readonly
- Status
- current
- Parent
- hpConfig
- Groups
- 1
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 'HP-SYSTEM-MIB' -M '/opt/observium/mibs/hp:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HP-SYSTEM-MIB::hpState.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HP-SYSTEM-MIB' -M '/opt/observium/mibs/hp:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HP-SYSTEM-MIB::hpState'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | unknown |
2 | up |
3 | down |
4 | primary |
5 | secondary |
Conformance
Member of