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


_______________________________________________
collectd mailing list
[email protected]
http://mailman.verplant.org/listinfo/collectd

Reply via email to