set default measurement name on snmp input (#2639)
This commit is contained in:
parent
62b5c1f7e7
commit
516dffa4c4
|
@ -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]
|
||||
|
||||
|
|
|
@ -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},
|
||||
|
|
Loading…
Reference in New Issue