Forwarding cleared alarms as SNMP traps with severity "Normal"
説明
When forwarding cleared alarms as SNMP traps the alarm severity stays the same. Is it possible to set the severity to "Normal" in the forwarded cleared alarm?
原因
By design the severity will not be changed on an alarm object, even when an alarm gets cleared. No new alarm object will be raised when an alarm gets cleared, the original alarm object will get the parameter "cleared" set to mark is as cleared.
対策
Create two rules to forward the alarms as SNMP traps, one for uncleared alarms and the second one for cleared alarms. In the second rule hard code the severity value:
Rule 1: Forward alarms as SNMP Traps
Condition: (!@event.get("isCleared"))
Rule 2: Forward cleared alarms as SNMP Traps
Condition: @event.get("isCleared")
Send SNMP Trap Action: set the "SeverityValue" parameter to "0"