All MIBs › UCD-SNMP-MIB › versionRestartAgent
versionRestartAgent
Module: UCD-SNMP-MIB
OID (symbolic): UCD-SNMP-MIB::versionRestartAgent
OID (numeric): 1.3.6.1.4.1.2021.100.12
Node type: OBJECT-TYPE
Type: Integer32
Access: read-write
Description: Set to 1 to restart the agent.
What is versionRestartAgent?
This OID lets an admin remotely restart the snmpd agent process by setting it to 1. An admin uses this to apply a configuration change that requires a restart, without needing shell access to the host.
Examples
Walk all instances (SNMPv2c):
snmpwalk -v2c -c public <target> 1.3.6.1.4.1.2021.100.12 snmpwalk -v2c -c public <target> UCD-SNMP-MIB::versionRestartAgent
Get a specific instance (index 1):
snmpget -v2c -c public <target> 1.3.6.1.4.1.2021.100.12.1 snmpget -v2c -c public <target> UCD-SNMP-MIB::versionRestartAgent.1
Set instance 1 (SNMPv2c):
snmpset -v2c -c private <target> 1.3.6.1.4.1.2021.100.12.1 i <value>
Start monitoring Unix/Linux servers running the Net-SNMP (net-snmp/snmpd) agent (CPU/memory/disk/process-table status) with a free 30-day trial of IPNetwork Monitor. Create custom SNMP monitor using the UCD-SNMP-MIB::versionRestartAgent OID value, configure state conditions and alerts, and monitor any Unix/Linux servers running the Net-SNMP (net-snmp/snmpd) agent (CPU/memory/disk/process-table status) from a single console.
OID Breakdown
Upper-level ancestors (6 from the standard OID tree / other modules)
| Numeric OID | Name | Module |
|---|---|---|
| 1 | iso | LANART-AGENT |
| 1.3 | org | AirPair-MIB |
| 1.3.6 | dod | AirPair-MIB |
| 1.3.6.1 | internet | AirPair-MIB |
| 1.3.6.1.4 | private | AirPair-MIB |
| 1.3.6.1.4.1 | enterprises | AirPair-MIB |
| Numeric OID | Name | Module |
|---|---|---|
| 1.3.6.1.4.1.2021 | ucdavis | UCD-SNMP-MIB |
| 1.3.6.1.4.1.2021.100 | version | UCD-SNMP-MIB |
| 1.3.6.1.4.1.2021.100.12 | versionRestartAgent | UCD-SNMP-MIB |