mcontrolReset
CPS-MIB ·
.1.3.6.1.4.1.3808.2.3.2
Object
scalar mandatory
r/w
Enumeration
Setting this OID to resetCurrentSystem (2) will reset the current system. Setting this OID to resetCurrentAgent (3) will reset the current agent. Setting this OID to resetCurrentSystemAndAgenta (4) will reset the current system and the current agent.
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 'CPS-MIB' -M '/opt/observium/mibs/cyberpower:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'CPS-MIB::mcontrolReset.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'CPS-MIB' -M '/opt/observium/mibs/cyberpower:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'CPS-MIB::mcontrolReset'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | none |
2 | resetCurrentSystem |
3 | resetCurrentAgent |
4 | resetCurrentSystemAndAgent |