Adding upstream version 1.34.4.
Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
parent
e393c3af3f
commit
4978089aab
4963 changed files with 677545 additions and 0 deletions
27
plugins/inputs/wireless/wireless.go
Normal file
27
plugins/inputs/wireless/wireless.go
Normal file
|
@ -0,0 +1,27 @@
|
|||
//go:generate ../../../tools/readme_config_includer/generator
|
||||
package wireless
|
||||
|
||||
import (
|
||||
_ "embed"
|
||||
|
||||
"github.com/influxdata/telegraf"
|
||||
"github.com/influxdata/telegraf/plugins/inputs"
|
||||
)
|
||||
|
||||
//go:embed sample.conf
|
||||
var sampleConfig string
|
||||
|
||||
type Wireless struct {
|
||||
HostProc string `toml:"host_proc"`
|
||||
Log telegraf.Logger `toml:"-"`
|
||||
}
|
||||
|
||||
func (*Wireless) SampleConfig() string {
|
||||
return sampleConfig
|
||||
}
|
||||
|
||||
func init() {
|
||||
inputs.Add("wireless", func() telegraf.Input {
|
||||
return &Wireless{}
|
||||
})
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue