pStatePortCur
ES-RACKTIVITY-MIB ·
.1.3.6.1.4.1.34097.9.80.1.1.8
Object
column CURPORTSTATE
Gets the current state of an outlet. To toggle an outlet use PORTSTAT (CLI) or pPortstate (SNMP) (GUID 10035) instead.
Context
- MIB
- ES-RACKTIVITY-MIB
- OID
.1.3.6.1.4.1.34097.9.80.1.1.8- Type
- column
- Access
- readonly
- Status
- current
- Parent
- ePowerEntry
- 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 'ES-RACKTIVITY-MIB' -M '/opt/observium/mibs/racktivity:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'ES-RACKTIVITY-MIB::pStatePortCur'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'ES-RACKTIVITY-MIB' -M '/opt/observium/mibs/racktivity:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'ES-RACKTIVITY-MIB::pStatePortCur.<powerModuleIndex>.<powerIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'ES-RACKTIVITY-MIB' -M '/opt/observium/mibs/racktivity:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'ES-RACKTIVITY-MIB::pStatePortCur'
Syntax
- Source
- CURPORTSTATE
- Base type
Enumeration
Values & Constraints
Type Values
0 | portOff |
1 | portOnNoWarning |
2 | portOff1 |
3 | portOnWithWarningCurrent |
4 | portOff2 |
5 | portOnWithWarningPower |
6 | portOff3 |
7 | portOnWithWarningCurrentAndPower |
8 | portOffWithError |
9 | portOnNoWarning1 |
10 | portOffWithError1 |
11 | portOnWithWarningCurrent1 |
12 | portOffWithError2 |
13 | portOnWithWarningPower1 |
14 | portOffWithError3 |
15 | portOnWithWarnCurrentAndPower1 |
16 | portOffWithDelayOn |
17 | portOnNoWarning2 |
18 | portOffWithDelayOn1 |
19 | portOnWithWarningCurrent2 |
20 | portOffWithDelayOn2 |
21 | portOnWithWarningPower2 |
22 | portOffWithDelayOn3 |
23 | portOnWithWarnCurrentAndPower2 |
Conformance
Member of