When you add an event variable discriminator to a trap event for AP disassociation from the WLC, it works to create unique events and alarms for each AP. However when we add the same discriminator to the Clear event, it is not working and does not clear anything. Removing the event variable discriminator, the trap will clear all of these alarms for all APs on the WLC, so the trap and even are working but the event variable discriminator breaks it.
CISCO_LWAPP_APP-MIB with different attributes and order of varbinds. bsnAPDisassociated NOTIFICATION-TYPE VARIABLES { bsnAPMacAddrTrapVariable 1.3.6.1.4.1.14179.2.6.2.20 MacAddress bsnAPName 1.3.6.1.4.1.14179.2.2.1.1.3 OCTET STRING } DESCRIPTION "When Airespace AP disassociates from Airespace Switch, AP disassociated notification will be sent with dot3 MAC address of Airespace AP management system to remove Airespace AP from this Airespace Switch"-- 1.3.6.1.4.1.14179.2.6.3.6.8# bsnAPDisassociated # bsnAPMacAddrTrapVariable1.3.6.1.4.1.14179.2.6.3.6.8 0x04b60007 1.3.6.1.4.1.14179.2.6.2.20(1,0)\ # bsnAPName 1.3.6.1.4.1.14179.2.2.1.1.3(2,0)/Airespace/EventDisp:0x04b60006 E 50 C 0x04b60007, 1bsnAPAssociated NOTIFICATION-TYPE VARIABLES { bsnAPMacAddrTrapVariable 1.3.6.1.4.1.14179.2.6.2.20 MacAddress bsnAPPortNumberTrapVariable 1.3.6.1.4.1.14179.2.6.2.32 Integer32 bsnAPName 1.3.6.1.4.1.14179.2.2.1.1.3 OCTET STRING } DESCRIPTION "When Airespace AP Associates to a Airespace Switch, AP associated notification will be sent with dot3 MAC address of Airespace AP.This will help management system to discover Airespace AP and add to system."-- 1.3.6.1.4.1.14179.2.6.3.6.7# bsnAPAssociated # bsnAPMacAddrTrapVariable1.3.6.1.4.1.14179.2.6.3.6.7 0x04b60006 1.3.6.1.4.1.14179.2.6.2.20(1,0)\ # bsnAPPortNumberTrapVariable 1.3.6.1.4.1.14179.2.6.2.32(2,0)\ # bsnAPName 1.3.6.1.4.1.14179.2.2.1.1.3(3,0)1.3.6.1.4.1.9.9.513.1.1.1.1.5(1,2) AP nameCisco_Router/Cisco_LWAPP_App/AlertMap:1.3.6.1.4.1.14179.2.6.3.6.8 0x04b60007 1.3.6.1.4.1.14179.2.6.2.20(1,0)\1.3.6.1.4.1.9.9.513.0.4 0x00210e0c 1.3.6.1.4.1.9.9.513.1.1.1.1.5(2,2)\ # cLApLastRebootReason 1.3.6.1.4.1.9.9.513.1.1.1.1.16(3,0)\ # cLApDataEncryptionStatus 1.3.6.1.4.1.9.9.513.1.1.1.1.36(4,0)
The device owner should turn on the supported trap on the device and not use a trap from a different mib with different attributes and oids. We were able to work around it by changing the event variable discriminator of the clear event from 2 to 1.