Does this situation really lack a solution ?
When I put the egg extracted by hydruid into /home/zenoss and then run (as zenoss user) command zenpack --install ZenPacks.zenoss.WindowsMonitor-1.0.5-py2.7.egg, I´ll get this:
[zenoss@zenos_upgrade ~]$ zenpack --install ZenPacks.zenoss.WindowsMonitor-1.0.5 -py2.7.egg
INFO:zen.windowsmonitor:Removing Packables from previous zenpacks
INFO:zen.windowsmonitor:Migrating WinPerfDataSources to new class
INFO:zen.windowsmonitor:Converting 0 datasources
2013-05-20 08:55:37,669 INFO zen.ZPLoader: Loading /opt/zenoss/ZenPacks/ZenPacks .zenoss.WindowsMonitor-1.0.5-py2.7.egg/ZenPacks/zenoss/WindowsMonitor/objects/ob jects.xml
2013-05-20 08:55:37,670 WARNING zen.AddToPack: Unable to find context path /zpor t/dmd/Devices/Server/Windows (line 4 ?) for WMI
2013-05-20 08:55:37,670 WARNING zen.AddToPack: Not committing any changes
2013-05-20 08:55:37,671 ERROR zen.ZenPackCMD: Error installing ZenPack ZenPacks. zenoss.WindowsMonitor-1.0.5-py2.7.egg
Traceback (most recent call last):
File "/opt/zenoss/Products/ZenUtils/ZenPackCmd.py", line 243, in InstallEggAnd ZenPack
fromUI=fromUI)
File "/opt/zenoss/Products/ZenUtils/ZenPackCmd.py", line 471, in InstallDistAs ZenPack
zenPack, deferFileDeletion, existing = transactional_actions()
File "/opt/zenoss/lib/python/ZODB/transact.py", line 44, in g
r = f(*args, **kwargs)
File "/opt/zenoss/Products/ZenUtils/ZenPackCmd.py", line 430, in transactional _actions
zenPack.install(dmd)
File "/opt/zenoss/ZenPacks/ZenPacks.zenoss.WindowsMonitor-1.0.5-py2.7.egg/ZenP acks/zenoss/WindowsMonitor/__init__.py", line 82, in install
ZenPackBase.install(self, app)
File "/opt/zenoss/Products/ZenModel/ZenPack.py", line 240, in install
loader.load(self, app)
File "/opt/zenoss/Products/ZenModel/ZenPackLoader.py", line 107, in load
importer.loadObjectFromXML(xmlfile=f)
File "/opt/zenoss/Products/ZenRelations/ImportRM.py", line 481, in loadObjectF romXML
parser.parse(self.infile)
File "/opt/zenoss/lib/python/_xmlplus/sax/expatreader.py", line 109, in parse
xmlreader.IncrementalParser.parse(self, source)
File "/opt/zenoss/lib/python/_xmlplus/sax/xmlreader.py", line 123, in parse
self.feed(buffer)
File "/opt/zenoss/lib/python/_xmlplus/sax/expatreader.py", line 216, in feed
self._parser.Parse(data, isFinal)
File "/opt/zenoss/lib/python/_xmlplus/sax/expatreader.py", line 312, in start_ element
self._cont_handler.startElement(name, AttributesImpl(attrs))
File "/opt/zenoss/Products/ZenRelations/ImportRM.py", line 161, in startElemen t
'attributes:\n%s' % formattedAttrs)
Exception: Unable to create object using the following attributes:
* id: /zport/dmd/Devices/Server/Windows/WMI
* module: Products.ZenModel.DeviceClass
* class: DeviceClass
2013-05-20 08:55:37,678 ERROR zen.ZenPackCmd: zenpack command failed
Traceback (most recent call last):
File "/opt/zenoss/Products/ZenUtils/zenpack.py", line 486, in <module>
zp.run()
File "/opt/zenoss/Products/ZenUtils/zenpack.py", line 164, in run
fromUI=self.options.fromui)
File "/opt/zenoss/Products/ZenUtils/ZenPackCmd.py", line 259, in InstallEggAnd ZenPack
raise e
Exception: Unable to create object using the following attributes:
* id: /zport/dmd/Devices/Server/Windows/WMI
* module: Products.ZenModel.DeviceClass
* class: DeviceClass
Am I being asked to create that context path /zport/dmd/Devices/Server/Windows ? If yes, where?