TECHZEN Zenoss User Community ARCHIVE  

Another Error processing transform/mapping on Event Class /Status/instances/IISS ...

Subject: Another Error processing transform/mapping on Event Class /Status/instances/IISSiteStatus
Author: [Not Specified]
Posted: 2015-06-16 13:19

Hello,

I've been trying to sort out an issue with the Microsoft.Windows Zenpack IIS status events. I have multiple servers with repeating IIS events

"iis service w3svc/1 is in running state"

It looks like that transform is not running successfully on this. When I run zeneventd in debug mode I noticed the transform is failing with the line

2015-06-16 18:06:43,121 DEBUG zen.eventd: Unable to get a uuid for


2015-06-16 18:06:43,120 DEBUG zen.Events: match on:/Events/Status/instances/IISSiteStatus
2015-06-16 18:06:43,120 DEBUG zen.Events: regex='' message='IIS Service W3SVC/1 is in Running state'
2015-06-16 18:06:43,121 DEBUG zen.Events: EventClass /Status matched
2015-06-16 18:06:43,121 DEBUG zen.eventd: Unable to get a uuid for
2015-06-16 18:06:43,122 DEBUG zen.Events: Per transform/mapping, using severity 2, action 'status' and clear classes []
2015-06-16 18:06:43,124 DEBUG zen.Events: Aborting transaction after transform
2015-06-16 18:06:43,124 DEBUG zen.Events: Event transform took 0.0 seconds (threshold 2.0 seconds), event context is {_zepRawEvent:{'event':

Not sure why the transform is failing. Other transforms are working fine

this is a copy of the transform I'm using

import re

@transact
def change_properties(currentstate):
if getattr(component, 'status') != currentstate:
setattr(component, 'status', currentstate)

msg = evt.summary
summaryObj = re.match(r'IIS Service (.*) is in (.*) state(.*)', msg)

change_properties(summaryObj.group(2))

Any help would be greatly appreciated



< Previous
Zenoss Core 4.2.5 Docker ZenPack Install / Device Add / Modeling Question
  Next
Unable to remove "orphaned" egg after upgrade
>