Discussion:
Issue with Even Mapping
Jennifer Wagner
2013-01-30 16:52:06 UTC
Permalink
Jennifer Wagner [http://community.zenoss.org/people/jlwagner] created the discussion

"Issue with Even Mapping"

To view the discussion, visit: http://community.zenoss.org/message/71311#71311

--------------------------------------------------------------
This issue continues to perplex me and I do not have the talent to decipher the error message. Here is detail of the errror:

|
Event Details... |
|
| exception | AttributeError: can't set attribute |
| transform | 0 if hasattr(evt, 'compClass') and hasattr(evt, 'compStatus'): 1 compType = evt.compClass 2 status = int(round(float(evt.compStatus))) 3 else: 4 compType = None 5 statusstr = evt.message.rsplit(' ', 1)[-1] 6 status = not statusstr.replace('.','').isdigit() and 3 or int(round(float(statusstr))) 7 try: comp = component 8 except NameError: 9 from ZODB.transact import transact 10 for comp in device.getMonitoredComponents(type=compType): 11 if comp.id == evt.component: break 12 else: 13 comp = None 14 if comp is not None: 15 if comp.status == status: 16 evt._action = 'drop' 17 else: 18 @transact 19 def updateDb(): 20 comp.status = status 21 if hasattr(comp, 'statusmap'): 22 col,evt.severity,state = comp.statusmap.get(status) or (0,evt.severity,'Unknown') 23 if hasattr(comp, 'state
'): 24 comp.state = st |
|

Any assistance would be appreciated. It is odd as it is always a single random server. I can clear the error and another will display the error and once there is one event no more servers experience the same error. I can delete that server and re add and I will have one server with that error. Help!
--------------------------------------------------------------

Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/71311#71311]

Start a new discussion in zenoss-users by email
[discussions-community-forums-zenoss--***@community.zenoss.org] -or- at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
Loading...