[collectd] [PATCH] mysql plugin: add support for multiple databases
Doug.MacEachern at hyperic.com
Mon Mar 16 23:29:23 CET 2009
Similar to the recent apache plugin thread, this patch adds config
support to monitor multiple databases from the same collectd instance.
Most of the logic was borrowed from the dbi plugin. A couple of notes:
To support legacy mode, the plugin_instance is only set if there are > 1
database configured.. should probably have an option to always set the
mysql_config () supports a legacy mode for the original style config -
not sure this is the best way to do it?
Still uses hostname_g - might want an option to change this?
Let me know what you think and I can follow up with .conf/.pod/etc
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 12767 bytes
Url : http://mailman.verplant.org/pipermail/collectd/attachments/20090316/a4ee35b7/attachment.obj
More information about the collectd