All MIBs › WR-SWITCH-MIB › wrsRestartReason
wrsRestartReason
Module: WR-SWITCH-MIB
OID (symbolic): WR-SWITCH-MIB::wrsRestartReason
OID (numeric): 1.3.6.1.4.1.96.100.7.1.2.3
Node type: OBJECT-TYPE
Type: INTEGER
Access: read-only
Description: Reason of last switch restart. error(1) - unable to read restart reason or reset counters generalReset(2) - Both VDDCORE and VDDBU rising (power-on) wakeUpReset(3) - VDDCORE rising watchdogReset(4) - Watchdog fault occurred softwareReset(5) - Processor reset required by the software (system reboot) userReset(6) - NRST pin detected low (reset button) restartByMonit(7) - Restart caused by Monit, please check wrsRestartReasonMonit for program that caused problems
What is wrsRestartReason?
Enumerated reason for the switch's most recent restart, distinguishing a normal power-on (generalReset) from a watchdog-triggered reset (watchdogReset), a deliberate software reboot (softwareReset), a physical reset-button press (userReset), or a crash-triggered restart by the Monit supervisor (restartByMonit). restartByMonit(7) tells an admin to check wrsRestartReasonMonit next to see which daemon's repeated crashes caused the restart.
Examples
Walk all instances (SNMPv2c):
snmpwalk -v2c -c public <target> 1.3.6.1.4.1.96.100.7.1.2.3 snmpwalk -v2c -c public <target> WR-SWITCH-MIB::wrsRestartReason
Get a specific instance (index 1):
snmpget -v2c -c public <target> 1.3.6.1.4.1.96.100.7.1.2.3.1 snmpget -v2c -c public <target> WR-SWITCH-MIB::wrsRestartReason.1
SNMPv3 example:
snmpget -v3 -l authPriv -u snmpv3-user -a SHA -A "AuthPassword1" -x AES -X "PrivPassword1" <target> wrsRestartReason.1
Start monitoring CERN White Rabbit precision-timing switches with a free 30-day trial of IPNetwork Monitor. Create custom SNMP monitor using the WR-SWITCH-MIB::wrsRestartReason OID value, configure state conditions and alerts, and monitor any CERN White Rabbit precision-timing switches 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.96 | cern | WR-SWITCH-MIB |
| 1.3.6.1.4.1.96.100 | wrSwitchMIB | WR-SWITCH-MIB |
| 1.3.6.1.4.1.96.100.7 | wrsExpertStatus | WR-SWITCH-MIB |
| 1.3.6.1.4.1.96.100.7.1 | wrsOperationStatus | WR-SWITCH-MIB |
| 1.3.6.1.4.1.96.100.7.1.2 | wrsBootStatusGroup | WR-SWITCH-MIB |
| 1.3.6.1.4.1.96.100.7.1.2.3 | wrsRestartReason | WR-SWITCH-MIB |