All MIBs › DNS-TRAPS-MIB › alarmInvalidCaseInSwitch
alarmInvalidCaseInSwitch
Module: DNS-TRAPS-MIB
OID (symbolic): DNS-TRAPS-MIB::alarmInvalidCaseInSwitch
OID (numeric): 1.3.6.1.4.1.1166.7.5.2.23
Node type: OBJECT-TYPE
Type: Integer32
Access: read-only
Description: Alarm which occurs when in a switch statement the default case is reached. This is a counter for the trap 23.
What is alarmInvalidCaseInSwitch?
This Integer32 counter increments whenever the device's internal code hits the default case of a switch statement it wasn't expecting, and it is the counter backing trap 23. Admins use it as a software-health indicator, since it flags unexpected internal logic paths that typically point to a bug, unsupported input, or a protocol message the firmware doesn't recognize. For example, a firmware update that introduces a new message type not yet handled by an older switch statement elsewhere in the code would cause this counter to increment.
Examples
Walk all instances (SNMPv2c):
snmpwalk -v2c -c public <target> 1.3.6.1.4.1.1166.7.5.2.23 snmpwalk -v2c -c public <target> DNS-TRAPS-MIB::alarmInvalidCaseInSwitch
Get a specific instance (index 1):
snmpget -v2c -c public <target> 1.3.6.1.4.1.1166.7.5.2.23.1 snmpget -v2c -c public <target> DNS-TRAPS-MIB::alarmInvalidCaseInSwitch.1
Start monitoring DNS server appliance (vendor trap template, Motorola Connected Home Solutions origin) with a free 30-day trial of IPNetwork Monitor. Create custom SNMP monitor using the DNS-TRAPS-MIB::alarmInvalidCaseInSwitch OID value, configure state conditions and alerts, and monitor any DNS server appliance (vendor trap template, Motorola Connected Home Solutions origin) from a single console.
OID Breakdown
Upper-level ancestors (8 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 |
| 1.3.6.1.4.1.1166 | gi | BCS-IDENT-MIB |
| 1.3.6.1.4.1.1166.7 | bcs | BCS-IDENT-MIB |
| Numeric OID | Name | Module |
|---|---|---|
| 1.3.6.1.4.1.1166.7.5 | dns | DNS-TRAPS-MIB |
| 1.3.6.1.4.1.1166.7.5.2 | dnsAlarms | DNS-TRAPS-MIB |
| 1.3.6.1.4.1.1166.7.5.2.23 | alarmInvalidCaseInSwitch | DNS-TRAPS-MIB |