diff --git a/CHANGELOG.md b/CHANGELOG.md index 9aab18fcd..3a1698214 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -96,6 +96,7 @@ be deprecated eventually. - [#2596](https://github.com/influxdata/telegraf/pull/2596): fix timestamp parsing on prometheus plugin - [#2610](https://github.com/influxdata/telegraf/pull/2610): Fix deadlock when output cannot write - [#2410](https://github.com/influxdata/telegraf/issues/2410): Fix connection leak in postgresql. +- [#2628](https://github.com/influxdata/telegraf/issues/2628): Set default measurement name for snmp input. ## v1.2.1 [2017-02-01] diff --git a/plugins/inputs/snmp/snmp.go b/plugins/inputs/snmp/snmp.go index 5394e57db..2aef729b3 100644 --- a/plugins/inputs/snmp/snmp.go +++ b/plugins/inputs/snmp/snmp.go @@ -314,6 +314,7 @@ func Errorf(err error, msg string, format ...interface{}) error { func init() { inputs.Add("snmp", func() telegraf.Input { return &Snmp{ + Name: "snmp", Retries: 3, MaxRepetitions: 10, Timeout: internal.Duration{Duration: 5 * time.Second},