This article clarifies how the Notification Rule test flow for SNMP-Trap Plugin works.
In the Notification Rule test flow, the notification engine creates a mock/test alert and passes it to the SNMP-Trap plugin for sending out. The notification rule can be configured for one or more alert status: NEW, UPDATE and CANCEL. The mock/test notification is sent according to the alert status condition defined within the notification rule under "2-Define Criteria" in the Notify On: field as follows:
| "Notify On" Setting | Test Alert's Status | Expected OID |
| Empty or NEW | NEW | vmwTrapProblemActive 1.3.6.1.4.1.6876.4.50.1.0.46 |
| CANCEL | CANCEL | vmwTrapProblemClear 1.3.6.1.4.1.6876.4.50.1.0.47 |
| UPDATE | UPDATE | vmwTrapProblemChange 1.3.6.1.4.1.6876.4.50.1.0.48 |
| Multiple conditions (for instance both CANCEL and UPDATE) | First one from the underlying data container. | OID matching the Status it chooses |
NOTE: If test notification rule's alert status list contains only CANCEL or CANCEL is the entry added last, then it is normal to expect vmwTrapProblemClear 1.3.6.1.4.1.6876.4.50.1.0.47 OID. The same is true for all type of Outbound plugins and is not SNMP-Trap specific.
VCF Operations 9.0.2, Aria Operations 8.18 and earlier
Remove all Statuses in tab 2 - Define Criteria of the Notification Rule configuration. Not having anything there will default the test notification in tab 5 - Test Notification to use the "New" status alert and OID but still retain the desired functionality of all statuses for the actual notification.
All SNMP OIDs can be found in the MIB file attached in the following KB: Determining the MIB module listing, name, and type of an SNMP OID