How to create a egg file from your ZenPack
Tuesday, December 2nd, 2008
cd
python setup.py bdist_egg
This creates the egg file in the dist directory.
Ref: Section 3.5 Zenoss Dev Guide (V2.3.0)
cd
python setup.py bdist_egg
This creates the egg file in the dist directory.
Ref: Section 3.5 Zenoss Dev Guide (V2.3.0)
Define it in the class in __init__.py in the ZenPack’s home directory.
Ref: Section 3.4.1 “Base ZenPack Class” of the Zenoss Developers Guide. (V2.3)
Check the zenhub.log file to make sure that there isn’t a syntax error in the code
Install the HRSWInstalledMap.
In the device class, go More>Collector Plugins; or go to the zProperties screen, then click the edit button next to the zCollectorPlugins field.
To add a new collector, click the very faint “Add Fields” link and a box will pop up with all the available ones.