agentSystemRestart

SWCOMMGMT-MIB · .1.3.6.1.4.1.2272.1.201.1.1.1.2.5

Object

scalar r/w Enumeration
This object indicates the agent system restart state. Setting 
this object to no-restart(3) has no effect. Setting this object to
cold-start(2) will restart the agent. The agent always returns 
no-restart(3) when this object is read.

Context

MIB
SWCOMMGMT-MIB
OID
.1.3.6.1.4.1.2272.1.201.1.1.1.2.5
Type
scalar
Access
readwrite
Status
current
Parent
agentBasicConfig

Scalars have one instance, identified by the .0 suffix.

Read the scalar instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'SWCOMMGMT-MIB' -M '/opt/observium/mibs/nortel:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'SWCOMMGMT-MIB::agentSystemRestart.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'SWCOMMGMT-MIB' -M '/opt/observium/mibs/nortel:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'SWCOMMGMT-MIB::agentSystemRestart'

Syntax

Enumeration

Values & Constraints

Enumerated Values
1other
2cold-start
3no-restart