<div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div>Hi,</div><div><br></div><div>I have a collectd config as below...</div><div><br></div><div><div><Plugin write_graphite></div><div>  <Carbon></div><div>    Host ...</div></div><div>...</div><div>   Prefix "<a href="http://collectd.production.XYZ">collectd.production.XYZ</a>."</div><div><div>    Postfix ""</div><div>    StoreRates true</div><div>    AlwaysAppendDS false</div><div>    EscapeCharacter "_"</div><div>  </Carbon></div><div></Plugin></div></div><div><br></div><div>I want to "target replace" XYZ with ABC-1. But the following isn't working.</div><div><br></div><div><div>LoadPlugin "target_replace"</div><div><Chain "PreCache"><br></div><div>    <Rule "add_abc"></div><div>        <Target "replace"></div><div>            Plugin "\\<XYZ\\>" "ABC-1"</div><div>        </Target></div><div>    </Rule></div><div></Chain></div></div><div dir="ltr"><br></div><div>Kindly help with the correct syntax.</div><div><br></div><div>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</div><div><br></div>Thanks in advance.</div><div dir="ltr"><br clear="all"><div><div dir="ltr" class="gmail_signature"><div dir="ltr">--</div><div>Shib</div></div></div></div></div></div></div></div></div></div></div>