I am trying to set the severity level of particular switch interfaces to critical. I set the default for all snmp_down to severity level 1, nd then I added the following transform to /net/link
if evt.component == 'GigabitEthernet2/4' and evt.device == 'IDF-buildingA' :
evt.severity = 5
But the event still comes across as severity 1.
What am I missing?