Hi,
I got lots of error events on all hosts like below. Could anybody tell me how to fix this issue? Any advice will be appreciated.
Resource: | myhost.int |
Component: | zencommand |
Event Class: | /Cmd/Fail |
Status: | New |
Message: | Unable to process COMMAND datasource(s) for device myhost.int -- skipping |
agent | zenhub |
component | zencommand |
dedupid | myhost.int|zencommand|/Cmd/Fail|4|Unable to process COMMAND datasource(s) for device myhost.int -- skipping |
eventClass | /Cmd/Fail |
eventClassKey | |
eventClassMapping | |
eventGroup | |
eventKey | |
eventState | New |
evid | 003048d4-6f86-9bc7-11e2-bc7f6c7bb034 |
facility | |
message | Unable to process COMMAND datasource(s) for device myhost.int -- skipping |
ntevid | |
priority | |
severity | 4 |
summary | Unable to process COMMAND datasource(s) for device myhost.int -- skipping |
error message in my zenhub.log:
2013-05-14 19:16:55,529 ERROR zen.HubService.CommandPerformanceConfig: Unable to process COMMAND datasource(s) for device myhost.int -- skipp
ing
Traceback (most recent call last):
File "/opt/zenoss/Products/ZenHub/services/CommandPerformanceConfig.py", line 97, in _safeGetComponentConfig
threshs = self._getComponentConfig(comp, device, perfServer, commands)
File "/opt/zenoss/Products/ZenHub/services/CommandPerformanceConfig.py", line 129, in _getComponentConfig
cmd.component = ds.getComponent(comp)
File "/opt/zenoss/Products/ZenModel/RRDDataSource.py", line 227, in getComponent
res = compiled(getEngine().getContext(environ))
File "/opt/zenoss/lib/python/Products/PageTemplates/Expressions.py", line 383, in __call__
v = evaluate(var)
File "/opt/zenoss/lib/python/zope/tales/tales.py", line 696, in evaluate
return expression(self)
File "/opt/zenoss/lib/python/zope/tales/expressions.py", line 217, in __call__
return self._eval(econtext)
File "/opt/zenoss/lib/python/Products/PageTemplates/Expressions.py", line 147, in _eval
ob = self._subexprs[-1](econtext)
File "/opt/zenoss/lib/python/zope/tales/expressions.py", line 124, in _eval
ob = self._traverser(ob, element, econtext)
File "/opt/zenoss/lib/python/Products/PageTemplates/Expressions.py", line 74, in boboAwareZopeTraverse
object = object.restrictedTraverse(name)
File "/opt/zenoss/lib/python/OFS/Traversable.py", line 316, in restrictedTraverse
return self.unrestrictedTraverse(path, default, restricted=True)
File "/opt/zenoss/lib/python/OFS/Traversable.py", line 299, in unrestrictedTraverse
raise e
KeyError: 'eventComponent'
Sheng