![]() |
![]() |
Subject: | How to Create a Portlet (Zenoss Ver.3) |
Author: | [Not Specified] |
Posted: | 2014-03-25 00:32 |
I'm working with Zenoss 3.2.1, so I have downloaded "Zenoss_Developers_Guide_08-102010-3.0-v01.pdf" file. However, when I follow the instructions to "Create a Dashboard Portlet" apparently the version is not same, because it mentions a folder ReportListPortletPack and a file ReportListPortlet.js that are not in my ZenPack directory. Who has the correct instructions for this Zenoss Version (v3)
Manually, I have created the file and folder, but when I tried to install using "zenpack --install ReportListPortletPack" I got an error:
014-03-25 15:27:55,883 INFO zen.HookReportLoader: loading reports from:/usr/local/zenoss/zenoss/Products/ReportListPortletPack/reports
2014-03-25 15:27:55,905 ERROR zen.ZenPackCmd: zenpack command failed
Traceback (most recent call last):
File "/usr/local/zenoss/zenoss/Products/ZenUtils/zenpack.py", line 406, in
zp.run()
File "/usr/local/zenoss/zenoss/Products/ZenUtils/zenpack.py", line 155, in run
self.install(packName)
File "/usr/local/zenoss/zenoss/Products/ZenUtils/zenpack.py", line 249, in install
zp.install(self.app)
File "/usr/local/zenoss/zenoss/Products/ZenModel/ZenPack.py", line 251, in install
loader.load(self, app)
File "/usr/local/zenoss/zenoss/Products/ZenModel/ZenPackLoader.py", line 287, in load
registerSkin(app.zport.dmd, skinsDir)
File "/usr/local/zenoss/zenoss/Products/ZenUtils/Skins.py", line 59, in registerSkin
addDirectoryViews(skinstool, path, dict(__name__=root))
File "/usr/local/zenoss/python/lib/python2.6/site-packages/Products.CMFCore-2.2.0_alpha-py2.6.egg/Products/CMFCore/DirectoryView.py", line 621, in addDirectoryViews
raise ValueError('Not a registered directory: %s' % reg_key)
ValueError: Not a registered directory: zenoss:/usr/local/zenoss/zenoss/Products/ReportListPortletPack/skins
< |
Previous vSphere Zenpack Availability |
Next Transform Error, but cant find transform. |
> |