There may be a couple of different reasons for creating a ZenPack. Perhaps, you want to package a group of custom settings to share with other locations or test environments. Or you may want to contribute a custom monitoring solution to the Zenoss Core community.
To demonstrate the creation and distribution process, we're going to package the bogo_check plugin we installed in Chapter 5, Custom Monitoring Templates. That will give us an opportunity to show you how to distribute preconfigured objects with the ZenPack, as we saw with the HttpMonitor example earlier in this chapter.
And even though we didn't write the bogo_check plugin, it still serves as an excellent programming example for a Nagios compliant plugin. It shows us how we can package a custom script into a ZenPack.
Creating ZenPacks is a three step process:
Create the ZenPack.
Add objects and files to the ZenPack.
Package the ZenPack for distribution.
Please note that even though we're going to walk through an example...