With our exploration of SNMP-based templates behind us, let's add a demonstration plugin to Zenoss Core that randomly generates a range of performance data. We'll create a new device class called Demo with its own device template to collect, generate events, and graph data from the
First, let's give some credit. The bogo_check plugin we'll be using was submitted to the Zenoss bug tracking database as bug number 2031 by Kells Kearney. I found out about Kells' plugin while he reviewed the first version of this book, but it was too late to incorporate it. The ticket is still open and there's some discussion on the ticket about making this into a ZenPack. So, we're going to bring this plugin out into the light of the day. See http://dev.zenoss.com/trac/ticket/2031http://dev.zenoss.com/trac/ticket/2031 for more information.
When we're finished with this chapter, we will be monitoring a fictitious device with a plugin that generates random...