MattHodge / Graphite-PowerShell-Functions

A group of PowerShell functions that allow you to send Windows Performance counters to a Graphite Server, all configurable from a simple XML file.
https://hodgkins.io/using-powershell-to-send-metrics-graphite
GNU General Public License v3.0
218 stars 71 forks source link

MetricReplace find and replace on the node hostname too #37

Closed daks closed 9 years ago

daks commented 9 years ago

I'm trying v1.2.0 of the module, with an explicit NodeHostName (I need the FQDN hostname) like

<NodeHostName>host_domain_tld</NodeHostName>

When the script send metrics to Graphite, it does find and replace on the node hostname which is not the intended behaviour, so my hostname become hostdomaintld (because of the default rule finding "_").

MattHodge commented 9 years ago

Fixed in Graphite-PowerShell v1.2.1.

Thanks for reporting the issue!

MattHodge commented 9 years ago

v1.2.1 had a bug, please grab Graphite-PowerShell v1.2.2 instead.