Discussion:
'Win32DiskDrive' object has no attribute
dseagren
2011-11-08 22:31:55 UTC
Permalink
dseagren [http://community.zenoss.org/people/dseagren] created the discussion

"'Win32DiskDrive' object has no attribute"

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

--------------------------------------------------------------
Zenhub log and the event console have errors for the WMIDataSource and ZenJMX zenpacks.  I've tried removing and reinstalling the packs but that doesn't seem to help.  I'm hoping someone has seen this before at least for a different object if not the Win32DiskDrive.  Below is an exerpt from the zenhub log.

2011-11-08 15:15:47,769 ERROR zen.hub: Unhandled exception in zenhub service ZenPacks.zenoss.ZenJMX.services.ZenJMXConfigService.ZenJMXConfigService: 'Win32DiskDrive' object has no attribute 'getThresholdInstances'
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.zenoss.ZenJMX-3.5.3-py2.6.egg/ZenPacks/zenoss/ZenJMX/services/ZenJMXConfigService.py", line 180, in _createDeviceProxy
    deviceConfig.thresholds += component.getThresholdInstances(
AttributeError: 'Win32DiskDrive' object has no attribute 'getThresholdInstances'


2011-11-08 15:16:09,908 ERROR zen.hub: Unhandled exception in zenhub service ZenPacks.community.WMIDataSource.services.WmiPerfConfig.WmiPerfConfig: 'Win32DiskDrive' object has no attribute 'rrdPath'
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 100, in getWbemDeviceConfig
    threshs.extend(getWbemComponentConfig(trs, comp, queries, datapoints))
  File "/opt/zenoss/ZenPacks/ZenPacks.community.WMIDataSource-2.11.egg/ZenPacks/community/WMIDataSource/services/WmiPerfConfig.py", line 51, in getWbemComponentConfig
    basepath = comp.rrdPath()
AttributeError: 'Win32DiskDrive' object has no attribute 'rrdPath'
--------------------------------------------------------------

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

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...