set default measurement name on snmp input (#2639)

This commit is contained in:
Patrick Hemmer 2017-04-10 19:45:02 -04:00 committed by Daniel Nelson
parent 147200f675
commit fa0f5bd6f3
2 changed files with 2 additions and 0 deletions

View File

@ -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]

View File

@ -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},