[collectd] Generic Plugins howto organize for easy graph
collectd at faxm0dem.org
collectd at faxm0dem.org
Fri Nov 30 10:08:21 CET 2012
Hi,
On Thu, Nov 29, 2012 at 09:01:54PM +0100, Poil wrote:
> And you how are you doing ? Is there a better way ?
We're using the filter chains to rename the generic plugins to something
more service oriented e.g.:
<Chain "PreCache">
<Rule>
<Match "regex">
Plugin "^postgresql$"
TypeInstance "^database-"
</Match>
<Target "set">
Plugin "database"
PluginInstance "foo-bar"
Host "myservice.in2p3.fr"
</Target>
<Target "replace">
TypeInstance "^database-" ""
</Target>
</Rule>
[...]
Or as another example, we're adding instances to the snmp plugin,
e.g. snmp-ups, snmp-pdu, snmp-ge etc.
Cheers
More information about the collectd
mailing list