33 lines
634 B
Go
33 lines
634 B
Go
|
//go:generate ../../../tools/readme_config_includer/generator
|
||
|
//go:build !linux
|
||
|
|
||
|
package intel_dlb
|
||
|
|
||
|
import (
|
||
|
_ "embed"
|
||
|
|
||
|
"github.com/influxdata/telegraf"
|
||
|
"github.com/influxdata/telegraf/plugins/inputs"
|
||
|
)
|
||
|
|
||
|
//go:embed sample.conf
|
||
|
var sampleConfig string
|
||
|
|
||
|
type IntelDLB struct {
|
||
|
Log telegraf.Logger `toml:"-"`
|
||
|
}
|
||
|
|
||
|
func (*IntelDLB) SampleConfig() string { return sampleConfig }
|
||
|
|
||
|
func (i *IntelDLB) Init() error {
|
||
|
i.Log.Warn("Current platform is not supported")
|
||
|
return nil
|
||
|
}
|
||
|
func (*IntelDLB) Gather(_ telegraf.Accumulator) error { return nil }
|
||
|
|
||
|
func init() {
|
||
|
inputs.Add("intel_dlb", func() telegraf.Input {
|
||
|
return &IntelDLB{}
|
||
|
})
|
||
|
}
|