I'm having some trouble pulling info out of the event for my transform and need some help.
This is my transform -
import re
ontName = getattr(evt,'enterprises.4323.2.2.1.3.14.1.11.[0-9]+','')
evt.summary = "ONT " + ontName + " battery low, check AXSVision client for more info on this alert."
And this is the info I'm trying to get from Event Details -
enterprises.4323.2.2.1.3.14.1.11.11656 AU-1-4-1-ONT
The issue is my transform is not getting AU-1-4-1-ONT from the event. I'm using a regex in the transform as the last 5 digits of the event can vary.
Anyone see why this isn't working?
Thanks,
John