fix(inputs.snmp_trap): Remove timeout deprecation (#16145)
This commit is contained in:
parent
427b8d3a9b
commit
9680123c6c
|
|
@ -62,8 +62,8 @@ details.
|
||||||
## To add paths when translating with netsnmp, use the MIBDIRS environment variable
|
## To add paths when translating with netsnmp, use the MIBDIRS environment variable
|
||||||
# path = ["/usr/share/snmp/mibs"]
|
# path = ["/usr/share/snmp/mibs"]
|
||||||
##
|
##
|
||||||
## Deprecated in 1.20.0; no longer running snmptranslate
|
|
||||||
## Timeout running snmptranslate command
|
## Timeout running snmptranslate command
|
||||||
|
## Used by the netsnmp translator only
|
||||||
# timeout = "5s"
|
# timeout = "5s"
|
||||||
## Snmp version; one of "1", "2c" or "3".
|
## Snmp version; one of "1", "2c" or "3".
|
||||||
# version = "2c"
|
# version = "2c"
|
||||||
|
|
|
||||||
|
|
@ -14,8 +14,8 @@
|
||||||
## To add paths when translating with netsnmp, use the MIBDIRS environment variable
|
## To add paths when translating with netsnmp, use the MIBDIRS environment variable
|
||||||
# path = ["/usr/share/snmp/mibs"]
|
# path = ["/usr/share/snmp/mibs"]
|
||||||
##
|
##
|
||||||
## Deprecated in 1.20.0; no longer running snmptranslate
|
|
||||||
## Timeout running snmptranslate command
|
## Timeout running snmptranslate command
|
||||||
|
## Used by the netsnmp translator only
|
||||||
# timeout = "5s"
|
# timeout = "5s"
|
||||||
## Snmp version; one of "1", "2c" or "3".
|
## Snmp version; one of "1", "2c" or "3".
|
||||||
# version = "2c"
|
# version = "2c"
|
||||||
|
|
|
||||||
|
|
@ -43,7 +43,7 @@ func (l wrapLog) Print(args ...interface{}) {
|
||||||
|
|
||||||
type SnmpTrap struct {
|
type SnmpTrap struct {
|
||||||
ServiceAddress string `toml:"service_address"`
|
ServiceAddress string `toml:"service_address"`
|
||||||
Timeout config.Duration `toml:"timeout" deprecated:"1.20.0;1.35.0;unused option"`
|
Timeout config.Duration `toml:"timeout"`
|
||||||
Version string `toml:"version"`
|
Version string `toml:"version"`
|
||||||
Translator string `toml:"-"`
|
Translator string `toml:"-"`
|
||||||
Path []string `toml:"path"`
|
Path []string `toml:"path"`
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue