Add synproxy input plugin (#5683)

This commit is contained in:
Remi Frenay
2019-11-21 20:26:59 +01:00
committed by Daniel Nelson
parent acfdc5576c
commit 23b6deee22
5 changed files with 371 additions and 0 deletions

View File

@@ -0,0 +1,31 @@
// +build !linux
package synproxy
import (
"log"
"github.com/influxdata/telegraf"
"github.com/influxdata/telegraf/plugins/inputs"
)
type Synproxy struct{}
func (k *Synproxy) Gather(acc telegraf.Accumulator) error {
return nil
}
func (k *Synproxy) Description() string {
return ""
}
func (k *Synproxy) SampleConfig() string {
return ""
}
func init() {
inputs.Add("synproxy", func() telegraf.Input {
log.Print("W! [inputs.synproxy] Current platform is not supported")
return &Synproxy{}
})
}