Al Davis
2013-04-12 20:52:46 UTC
Al Davis [http://community.zenoss.org/people/awdavis214] created the discussion
"Transform variable error"
To view the discussion, visit: http://community.zenoss.org/message/72811#72811
--------------------------------------------------------------
Sorry for my ignorance but I am working on a transform for a paticular type of device and I am trying to change the summary to the content of one of the fields in the trap information. The issue that I am having is the name of that field has periods in it which is causing an error. My question is, is it possible to perfom the following transform and somehow deal with the periods.
import re
evt.summary = evt.tg1000.2.1.2

--------------------------------------------------------------
Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/72811#72811]
Start a new discussion in zenoss-users at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
"Transform variable error"
To view the discussion, visit: http://community.zenoss.org/message/72811#72811
--------------------------------------------------------------
Sorry for my ignorance but I am working on a transform for a paticular type of device and I am trying to change the summary to the content of one of the fields in the trap information. The issue that I am having is the name of that field has periods in it which is causing an error. My question is, is it possible to perfom the following transform and somehow deal with the periods.
import re
evt.summary = evt.tg1000.2.1.2

--------------------------------------------------------------
Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/72811#72811]
Start a new discussion in zenoss-users at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]