From 078ab8781263ac7a925c87bc0b038ca82aa0d02d Mon Sep 17 00:00:00 2001 From: Pierre Tessier Date: Fri, 2 Feb 2018 10:42:22 -0500 Subject: [PATCH] fix issue with SNMP source config default is incorrect --- plugins/outputs/wavefront/README.md | 2 +- plugins/outputs/wavefront/wavefront.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/outputs/wavefront/README.md b/plugins/outputs/wavefront/README.md index 6b673b12acd29..be8fcd7dcdba4 100644 --- a/plugins/outputs/wavefront/README.md +++ b/plugins/outputs/wavefront/README.md @@ -32,7 +32,7 @@ This plugin writes to a [Wavefront](https://www.wavefront.com) proxy, in Wavefro #use_regex = false ## point tags to use as the source name for Wavefront (if none found, host will be used) - #source_override = ["hostname", "snmp_host", "node_host"] + #source_override = ["hostname", "agent_host", "node_host"] ## whether to convert boolean values to numeric values, with false -> 0.0 and true -> 1.0. default is true #convert_bool = true diff --git a/plugins/outputs/wavefront/wavefront.go b/plugins/outputs/wavefront/wavefront.go index 475e282534830..7f1f8c07731cc 100644 --- a/plugins/outputs/wavefront/wavefront.go +++ b/plugins/outputs/wavefront/wavefront.go @@ -68,7 +68,7 @@ var sampleConfig = ` #use_regex = false ## point tags to use as the source name for Wavefront (if none found, host will be used) - #source_override = ["hostname", "snmp_host", "node_host"] + #source_override = ["hostname", "agent_host", "node_host"] ## whether to convert boolean values to numeric values, with false -> 0.0 and true -> 1.0. default true #convert_bool = true