set default measurement name on snmp input (#2639)
This commit is contained in:
parent
147200f675
commit
fa0f5bd6f3
|
@ -96,6 +96,7 @@ be deprecated eventually.
|
||||||
- [#2596](https://github.com/influxdata/telegraf/pull/2596): fix timestamp parsing on prometheus plugin
|
- [#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
|
- [#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.
|
- [#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]
|
## v1.2.1 [2017-02-01]
|
||||||
|
|
||||||
|
|
|
@ -314,6 +314,7 @@ func Errorf(err error, msg string, format ...interface{}) error {
|
||||||
func init() {
|
func init() {
|
||||||
inputs.Add("snmp", func() telegraf.Input {
|
inputs.Add("snmp", func() telegraf.Input {
|
||||||
return &Snmp{
|
return &Snmp{
|
||||||
|
Name: "snmp",
|
||||||
Retries: 3,
|
Retries: 3,
|
||||||
MaxRepetitions: 10,
|
MaxRepetitions: 10,
|
||||||
Timeout: internal.Duration{Duration: 5 * time.Second},
|
Timeout: internal.Duration{Duration: 5 * time.Second},
|
||||||
|
|
Loading…
Reference in New Issue