The following example illustrates how to configure the notification and clearing of an event. One trap creates a state of NOTIFY, while the other a state of CLEAR:
BEGIN_TRAP .1.3.6.1.4.1.10.1.9.5.1 6 1 ClassName: Port InstanceName: $SYS$ PORT $V1$ EventName: lerAlarmOn Severity: 3 EventText: This is a longer text message EventType: DURABLE Category: Performance State: NOTIFY END_TRAP BEGIN_TRAP .1.3.6.1.4.1.10.1.9.5.1 6 2 ClassName: Port InstanceName: $SYS$ PORT $V1$ EventName: lerAlarmOn State: CLEAR END_TRAP
Notifications are uniquely identified using the three attributes: ClassName, InstanceName, and EventName. In the example, the second trap definition will clear an event created with the first trap definition when the values of the three key fields are identical.