Hi,
I have a collectd config as below...
<Plugin write_graphite>
<Carbon>
Host ...
...
Prefix "collectd.production.XYZ."
Postfix ""
StoreRates true
AlwaysAppendDS false
EscapeCharacter "_"
</Carbon>
</Plugin>
I want to "target replace" XYZ with ABC-1. But the following isn't working.
LoadPlugin "target_replace"
<Chain "PreCache">
<Rule "add_abc">
<Target "replace">
Plugin "\\<XYZ\\>" "ABC-1"
</Target>
</Rule>
</Chain>
Kindly help with the correct syntax.
If the above is not possible, what is the best way to add a string like
"ABC-1" just before the Host? The final graphite path would look
like
collectd.collectd_vsphere.production.ABC-1.abc_xyz_com.snmp.percent-CPUCore1
Thanks in advance.
--
Shib
_______________________________________________
collectd mailing list
[email protected]
https://mailman.verplant.org/listinfo/collectd