diff --git a/CHANGELOG.md b/CHANGELOG.md index 887134ad012c8..fd1782a0892ab 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -32,6 +32,7 @@ - [#1764](https://github.com/influxdata/telegraf/issues/1764): Fix kafka consumer panic when nil error is returned down errs channel. - [#1768](https://github.com/influxdata/telegraf/pull/1768): Speed up statsd parsing. - [#1751](https://github.com/influxdata/telegraf/issues/1751): Fix powerdns integer parse error handling. +- [#1752](https://github.com/influxdata/telegraf/issues/1752): Fix varnish plugin defaults not being used. ## v1.0.1 [unreleased] diff --git a/plugins/inputs/varnish/varnish.go b/plugins/inputs/varnish/varnish.go index 229a5e8b0db71..c750412219d8d 100644 --- a/plugins/inputs/varnish/varnish.go +++ b/plugins/inputs/varnish/varnish.go @@ -146,7 +146,9 @@ func (s *Varnish) Gather(acc telegraf.Accumulator) error { func init() { inputs.Add("varnish", func() telegraf.Input { return &Varnish{ - run: varnishRunner, + run: varnishRunner, + Stats: defaultStats, + Binary: defaultBinary, } }) }