Implement the plugin as a derived class of RRDPlugin (rrd_plugin.py), together with the config.