TECHZEN Zenoss User Community ARCHIVE  

How to add manufacturer to ZenPack?

Subject: How to add manufacturer to ZenPack?
Author: [Not Specified]
Posted: 2016-01-11 14:31

This is with Zenoss 5.0.9.

I've create a zenpack, and a manufacturer, but I can't find any way to add the manufacturer to the zenpack. It used to be in the gear icon, but it is no longer there.

Anyone know how to do this

Manuel



Subject: I see the same thing. I've
Author: Chet Luther
Posted: 2016-01-20 13:45

I see the same thing. I've opened the following JIRA issue for it.

https://jira.zenoss.com/browse/ZEN-21657

In the meantime you can work around this in zendmd as follows.

manufacturer = dmd.getObjByPath('Manufacturers/ExampleManufacturerName')
manufacturer.addToZenPack(pack='ZenPacks.example.ZenPackName')
commit()

You can now confirmed that it worked by looking at the "ZenPack Provides" section of the ZenPack's details in the web interface, or in zendmd.

zenpack = dmd.getObjByPath('ZenPackManager/packs/ZenPacks.example.ZenPackName')
pprint(zenpack.packables())


< Previous
How to download and install zanpacks in zenoss core 5
  Next
ZenPack needed for Nettwork Device Interface Monitoring
>