Oct 12, 2011 4:58 AM
'totalBlocks' error
- 
Like (0)
Morning all,
I am having a problem with the WMIDataSource ZenPack and I cant figure out for the life of me whats going wrong. Any help would be great.
| prodState | 1000 | 
| stateChange | 2011/10/12 09:09:28.000 | 
| facility | unknown | 
| eventClassKey | |
| agent | zenhub | 
| dedupid | localhost|ZenPacks.community.WMIDataSource.services.WmiPerfConfig.WmiPerfConfig|||5|Unhandled exception in zenhub service ZenPacks.community.WMIDataSource.services.WmiPerfConfig.WmiPerfConfig: \'totalBlocks\' | 
| manager | lonschmon01.XXXX.XXXXX.XXXX | 
| Location | |
| ownerid | its | 
| firstTime | 2011/10/07 22:01:22.000 | 
| eventClass | /Unknown | 
| message | Unhandled exception in zenhub service ZenPacks.community.WMIDataSource.services.WmiPerfConfig.WmiPerfConfig: 'totalBlocks' | 
| DevicePriority | 3 | 
| suppid | |
| monitor | localhost | 
| priority | -1 | 
| DeviceClass | /Server/Linux | 
| eventState | 1 | 
| evid | 69908b70-3992-4cf3-8cdb-96dbf6100ec5 | 
| eventClassMapping | |
| component | ZenPacks.community.WMIDataSource.services.WmiPerfConfig.WmiPerfConfig | 
| clearid | |
| DeviceGroups | | | 
| eventGroup | |
| device | localhost | 
| severity | 5 | 
| count | 29 | 
| ntevid | 0 | 
| summary | Unhandled exception in zenhub service ZenPacks.community.WMIDataSource.services.WmiPerfConfig.WmiPerfConfig: 'totalBlocks' | 
| eventKey | |
| lastTime | 2011/10/12 09:09:28.000 | 
| ipAddress | 127.0.0.1 | 
| Systems | |/Monitoring | 
| traceback | Traceback (most recent call last): File "/opt/zenoss/Products/ZenCollector/services/config.py", line 84, in _wrapFunction return functor(*args, **kwargs) File "/opt/zenoss/ZenPacks/ZenPacks.community.WMIDataSource-2.11.egg/ZenPacks/community/WMIDa | 
| methodCall | _createDeviceProxy((,), {}) | 
Sadly there isn't enough information here for us to help you. Can you please specify the Zenoss version, OS version, remote Windows version(s), zenhub logs (at debug level) etc...
--
James Pulver
Information Technology Area Supervisor
LEPP Computer Group
Cornell University
Andrew Savvas:
After installing the pack did you restafrt Zenoss? It looks like the config service is unknown to zenhub. Also, seond jmp242's questions. Zenhub.log would be very helpful.
Thanks!
Best,
--Shane W Scott (Hackman238)
Sorry guys, ive been away from this project for a little while but back to it now.
jmp, I'm running Zenoss v3.1.0, on Red Hat 64 bit, Windows server 2003, and 2008r2
Zenhub Log
2011-11-27 05:51:50,431 ERROR zen.hub: Unhandled exception in zenhub service ZenPacks.community.WMIDataSource.services.WmiPerfConfig.WmiPerfConfig: 'totalBlocks'
Traceback (most recent call last):
File "/opt/zenoss/Products/ZenCollector/services/config.py", line 84, in _wrapFunction
return functor(*args, **kwargs)
File "/opt/zenoss/ZenPacks/ZenPacks.community.WMIDataSource-2.11.egg/ZenPacks/community/WMIDataSource/services/WmiPerfConfig.py", line 134, in _createDeviceProxy
device)
File "/opt/zenoss/ZenPacks/ZenPacks.community.WMIDataSource-2.11.egg/ZenPacks/community/WMIDataSource/services/WmiPerfConfig.py", line 98, in getWbemDeviceConfig
threshs = getWbemComponentConfig(trs, device, queries, datapoints)
File "/opt/zenoss/ZenPacks/ZenPacks.community.WMIDataSource-2.11.egg/ZenPacks/community/WMIDataSource/services/WmiPerfConfig.py", line 70, in getWbemComponentConfig
extra={'now':'now'})
File "/opt/zenoss/Products/ZenUtils/ZenTales.py", line 33, in talesEval
res = compiled(getEngine().getContext(contextDict))
File "/opt/zenoss/lib/python/zope/tales/expressions.py", line 261, in __call__
v = var(econtext)
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 127, 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 76, in boboAwareZopeTraverse
object = object.restrictedTraverse(name)
File "/opt/zenoss/lib/python/OFS/Traversable.py", line 310, in restrictedTraverse
return self.unrestrictedTraverse(path, default, restricted=True)
File "/opt/zenoss/lib/python/OFS/Traversable.py", line 293, in unrestrictedTraverse
raise e
KeyError: 'totalBlocks'
Shane, you Zenoss has been restarted a number of times since the install.
thanks again.
| Follow Us On Twitter » | Latest from the Zenoss Blog » |   | Community | Products | Services Resources | Customers Partners | About Us | |
|  |   |   Copyright © 2005-2011 Zenoss, Inc. | ||||||
