The Zenoss Core documentation is rampant with references that you can use a Cacti plugin or Cacti compatible plugin, but there do not appear to be any readily available examples.
To help us find an example that you can use to as a guide to creating your own plugin, we once again turn our attention to the Zenoss bug tracker to review ticket #4945 (http://dev.zenoss.com/trac/attachment/ticket/4945/single_dp_cacti_plugin.py). This script is similar in function to the
bogo_check.py plugin we just installed and is authored by Kells Kearnery. This Cacti compatible plugin generates random data in a single datapoint value, which the Zenoss Core Cacti parser understands.
Everything we just did to add and configure a monitoring template can be done with a Cacti compatible plugin. Just feed the data the location of the script and you're on your way.