Archived community.zenoss.org | full text search
Skip navigation
2429 Views 5 Replies Latest reply: Jul 18, 2013 5:23 PM by alphasupremicus RSS
alphasupremicus Rank: White Belt 16 posts since
Dec 28, 2007
Currently Being Moderated

Jul 17, 2013 10:15 PM

Problems with Windows Server 2012

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

  • jmp242 ZenossMaster 4,060 posts since
    Mar 7, 2007
    Currently Being Moderated
    1. Jul 18, 2013 8:49 AM (in response to alphasupremicus)
    Re: Problems with Windows Server 2012

    My guess is you'll probably need a new  template written. You could look up what the new counters are for Server 2012 and test with zenwinperf at the command line and then write a new template, or you could hire a consultant to create a zenpack for you. You could also see how much other interest there is and perhaps donate to the ZCA with others to collectively fund a zenpack development. Or wait and see if someone else creates one for the community.

     

     

    --

    James Pulver

    ZCA Member

    CLASSE Computer Group

    Cornell University

  • jmp242 ZenossMaster 4,060 posts since
    Mar 7, 2007
    Currently Being Moderated
    3. Jul 18, 2013 10:22 AM (in response to alphasupremicus)
    Re: Problems with Windows Server 2012

    Try running zenmodeler in the foreground with a v10 ...

     

    --

    James Pulver

    ZCA Member

    CLASSE Computer Group

    Cornell University

  • Robert Booth Rank: White Belt 25 posts since
    Dec 12, 2011
    Currently Being Moderated
    4. Jul 18, 2013 3:06 PM (in response to alphasupremicus)
    Re: Problems with Windows Server 2012

    John,

     

    I don't think your problem is related to the monitoring templates. It looks as if you're getting this error during modeling of the device related to the operating system version somehow not being found with the WMI call. Not sure why that is since I'm not seeing this issue with our latest development effort.

     

    We (Zenoss) are currently working on a new Windows ZenPack that utilizes WinRM and WinRS to manage your Windows boxes. You can download our lastest work at https://github.com/zenoss/ZenPacks.zenoss.Microsoft.Windows .

    We are making several changes based off of user feedback so please test and post issues as you see necessary.

     

    I would be curious if you're seeing this same issue with the new ZenPack.

     

     

    -Rob

More Like This

  • Retrieving data ...

Legend

  • Correct Answers - 4 points
  • Helpful Answers - 2 points