Hi all,
I am using the latest Zenoss 4.2.4 which includes WMI version 1.3.15 (from the Advanced | Versions page). I have absolutely no issues using WMI to monitor my Windows 2003, 2008, and 2008 R2 servers, but guess what? It's 2013 and some new Windows Server 2012 instances are coming into my environments, and, I says to myself, "Well, let's see what Zenoss can do with those?"
Well, the news isn't good. It appears something is definitely jabberwocky with Zenoss Windows WMI monitoring of 2012 servers. Here's the traceback I get when I try to discover the server:
2013-07-17 21:57:11,855 INFO zen.ZenModeler: Connecting to localhost:8789
2013-07-17 21:57:11,863 INFO zen.ZenModeler: Connected to ZenHub
2013-07-17 21:57:12,068 INFO zen.ZenModeler: Collecting for device camaro
2013-07-17 21:57:12,357 INFO zen.ZenModeler: WMI collector method for device camaro
2013-07-17 21:57:12,357 INFO zen.ZenModeler: plugins: zenoss.wmi.WindowsDeviceMap, zenoss.wmi.WinServiceMap, zenoss.wmi.CpuMap, zenoss.wmi.FileSystemMap, zenoss.wmi.IpInterfaceMap, zenoss.wmi.IpRouteMap, zenoss.wmi.MemoryMap, zenoss.wmi.ProcessMap, zenoss.wmi.SoftwareMap
2013-07-17 21:57:12,359 INFO zen.ZenModeler: No Python plugins found for camaro
2013-07-17 21:57:12,359 INFO zen.ZenModeler: No command plugins found for camaro
2013-07-17 21:57:12,359 INFO zen.ZenModeler: SNMP monitoring off for camaro
2013-07-17 21:57:12,360 INFO zen.ZenModeler: No portscan plugins found for camaro
2013-07-17 21:57:22,222 INFO zen.ZenModeler: processing zenoss.wmi.WindowsDeviceMap for device camaro
2013-07-17 21:57:22,224 INFO zen.ZenModeler: Processing WinServices for device camaro
2013-07-17 21:57:22,234 INFO zen.ZenModeler: processing zenoss.wmi.CpuMap (Cache) for device camaro
2013-07-17 21:57:22,234 INFO zen.ZenModeler: processing zenoss.wmi.CpuMap (CPU) for device camaro
2013-07-17 21:57:22,235 INFO zen.ZenModeler: Collecting filesystems for device camaro
2013-07-17 21:57:22,236 INFO zen.ZenModeler: Collecting interfaces for device camaro
2013-07-17 21:57:22,238 INFO zen.ZenModeler: processing zenoss.wmi.IpRouteMap for device camaro
2013-07-17 21:57:22,240 INFO zen.ZenModeler: processing zenoss.wmi.MemoryMap for device camaro
2013-07-17 21:57:22,240 WARNING zen.ZenModeler: WMI process discovery is currently not supported
2013-07-17 21:57:22,240 INFO zen.ZenModeler: processing zenoss.wmi.SoftwareMap for device camaro
2013-07-17 21:57:23,645 ERROR zen.ZenModeler: : Traceback (most recent call last):
File "/u01/zenoss/Products/ZenHub/PBDaemon.py", line 85, in inner
return callable(*args, **kw)
File "/u01/zenoss/Products/ZenHub/services/ModelerService.py", line 132, in remote_applyDataMaps
result = inner(map)
File "/u01/zenoss/Products/ZenHub/services/ModelerService.py", line 128, in inner
return self._do_with_retries(action)
File "/u01/zenoss/Products/ZenHub/services/ModelerService.py", line 154, in _do_with_retries
return action()
File "/u01/zenoss/Products/ZenHub/services/ModelerService.py", line 127, in action
return bool(adm._applyDataMap(device, map))
File "/opt/zenoss/lib/python/ZODB/transact.py", line 44, in g
r = f(*args, **kwargs)
File "/u01/zenoss/Products/DataCollector/ApplyDataMap.py", line 215, in _applyDataMap
changed = self._updateObject(tobj, datamap)
File "/u01/zenoss/Products/DataCollector/ApplyDataMap.py", line 383, in _updateObject
setter(*args)
File "/u01/zenoss/Products/ZenModel/Device.py", line 696, in setHWProductKey
self.hw.setProductKey(prodKey, manufacturer)
File "/u01/zenoss/Products/ZenModel/Hardware.py", line 84, in setProductKey
prodobj = manufs.createHardwareProduct(prodKey, manufacturer)
File "/u01/zenoss/Products/ZenModel/ManufacturerRoot.py", line 172, in createHardwareProduct
return self._getProduct(prodName, manufacturer, HardwareClass, **kwargs)
File "/u01/zenoss/Products/ZenModel/ManufacturerRoot.py", line 191, in _getProduct
prod = manufobj._getProduct(prodName, factory, **kwargs)
AttributeError: 'NoneType' object has no attribute '_getProduct'
: <no traceback>
Traceback (most recent call last):
File "/opt/zenoss/Products/DataCollector/zenmodeler.py", line 693, in processClient
if driver.next():
File "/u01/zenoss/Products/ZenUtils/Driver.py", line 63, in result
raise ex
RemoteException: : Traceback (most recent call last):
File "/u01/zenoss/Products/ZenHub/PBDaemon.py", line 85, in inner
return callable(*args, **kw)
File "/u01/zenoss/Products/ZenHub/services/ModelerService.py", line 132, in remote_applyDataMaps
result = inner(map)
File "/u01/zenoss/Products/ZenHub/services/ModelerService.py", line 128, in inner
return self._do_with_retries(action)
File "/u01/zenoss/Products/ZenHub/services/ModelerService.py", line 154, in _do_with_retries
return action()
File "/u01/zenoss/Products/ZenHub/services/ModelerService.py", line 127, in action
return bool(adm._applyDataMap(device, map))
File "/opt/zenoss/lib/python/ZODB/transact.py", line 44, in g
r = f(*args, **kwargs)
File "/u01/zenoss/Products/DataCollector/ApplyDataMap.py", line 215, in _applyDataMap
changed = self._updateObject(tobj, datamap)
File "/u01/zenoss/Products/DataCollector/ApplyDataMap.py", line 383, in _updateObject
setter(*args)
File "/u01/zenoss/Products/ZenModel/Device.py", line 696, in setHWProductKey
self.hw.setProductKey(prodKey, manufacturer)
File "/u01/zenoss/Products/ZenModel/Hardware.py", line 84, in setProductKey
prodobj = manufs.createHardwareProduct(prodKey, manufacturer)
File "/u01/zenoss/Products/ZenModel/ManufacturerRoot.py", line 172, in createHardwareProduct
return self._getProduct(prodName, manufacturer, HardwareClass, **kwargs)
File "/u01/zenoss/Products/ZenModel/ManufacturerRoot.py", line 191, in _getProduct
prod = manufobj._getProduct(prodName, factory, **kwargs)
AttributeError: 'NoneType' object has no attribute '_getProduct'
: <no traceback>
2013-07-17 21:57:23,646 ERROR zen.ZenModeler: Client camaro.lso.leidos.com finished with message: [Failure instance: Traceback (failure with no frames): <class 'Products.ZenHub.PBDaemon.RemoteException'>: : Traceback (most recent call last):
File "/u01/zenoss/Products/ZenHub/PBDaemon.py", line 85, in inner
return callable(*args, **kw)
File "/u01/zenoss/Products/ZenHub/services/ModelerService.py", line 132, in remote_applyDataMaps
result = inner(map)
File "/u01/zenoss/Products/ZenHub/services/ModelerService.py", line 128, in inner
return self._do_with_retries(action)
File "/u01/zenoss/Products/ZenHub/services/ModelerService.py", line 154, in _do_with_retries
return action()
File "/u01/zenoss/Products/ZenHub/services/ModelerService.py", line 127, in action
return bool(adm._applyDataMap(device, map))
File "/opt/zenoss/lib/python/ZODB/transact.py", line 44, in g
r = f(*args, **kwargs)
File "/u01/zenoss/Products/DataCollector/ApplyDataMap.py", line 215, in _applyDataMap
changed = self._updateObject(tobj, datamap)
File "/u01/zenoss/Products/DataCollector/ApplyDataMap.py", line 383, in _updateObject
setter(*args)
File "/u01/zenoss/Products/ZenModel/Device.py", line 696, in setHWProductKey
self.hw.setProductKey(prodKey, manufacturer)
File "/u01/zenoss/Products/ZenModel/Hardware.py", line 84, in setProductKey
prodobj = manufs.createHardwareProduct(prodKey, manufacturer)
File "/u01/zenoss/Products/ZenModel/ManufacturerRoot.py", line 172, in createHardwareProduct
return self._getProduct(prodName, manufacturer, HardwareClass, **kwargs)
File "/u01/zenoss/Products/ZenModel/ManufacturerRoot.py", line 191, in _getProduct
prod = manufobj._getProduct(prodName, factory, **kwargs)
AttributeError: 'NoneType' object has no attribute '_getProduct'
: <no traceback>
]
2013-07-17 21:57:23,646 INFO zen.ZenModeler: Scan time: 11.58 seconds
2013-07-17 21:57:23,649 INFO zen.ZenModeler: Daemon ZenModeler shutting down
Clearly Windows Server 2012 is not supported for some reason, and I am a little at loss to know if this is a long uphill climb to retool the WMI Modeler plugins to be 2012 compatible or if small tweaks could be made to make this work.
Does anyone have any intel on if / when Zenoss will support Windows 2012 server as I really haven't found anything online about the plans for supporting 2012.
If there is anything I can do to help make this possible, then let me know.
Maybe until WMI is fixed, I need to resort to SNMP agents? Thoughts?
Best Regards,
John
-
Like (0)