Dear all,
This is my machine specs :
OS : Centos 6.4 X64
Zenoss : 4.2.3
[root@Zenoss ~]# rpm -qa | grep python
python-pycurl-7.19.0-8.el6.x86_64
python-2.6.6-36.el6.x86_64
python-libs-2.6.6-36.el6.x86_64
python-iniparse-0.3.1-2.1.el6.noarch
newt-python-0.52.11-3.el6.x86_64
rpm-python-4.8.0-32.el6.x86_64
python-urlgrabber-3.9.1-8.el6.noarch
i just wanted to install this handy zenpack through Git, after downloading the package from github i tried to install it with Command in below . but the following issues happend :
[zenoss@Zenoss ZenPacks]$ zenpack --link --install ZenPacks.ShaneScott.CPUCount/
2013-05-06 17:10:53,273 INFO zen.HookReportLoader: Loading reports from /opt/zenoss/Products/ZenPacks.ShaneScott.CPUCount/reports
2013-05-06 17:10:53,517 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 183, in run
self.install(packName)
File "/opt/zenoss/Products/ZenUtils/zenpack.py", line 324, in install
zp.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 312, in load
registerSkin(app.zport.dmd, skinsDir)
File "/opt/zenoss/Products/ZenUtils/Skins.py", line 66, in registerSkin
addDirectoryViews(skinstool, path, dict(__name__=root))
File "/opt/zenoss/lib/python/Products/CMFCore/DirectoryView.py", line 612, in addDirectoryViews
package = getPackageName(_prefix)
File "/opt/zenoss/lib/python/Products/CMFCore/utils.py", line 867, in getPackageName
return getContainingPackage(module)
File "/opt/zenoss/lib/python/Products/CMFCore/utils.py", line 847, in getContainingPackage
mod = sys.modules[name]
KeyError: 'ZenPacks.ShaneScott.CPUCount'