Add synproxy input plugin (#5683)
This commit is contained in:
committed by
Daniel Nelson
parent
acfdc5576c
commit
23b6deee22
31
plugins/inputs/synproxy/synproxy_notlinux.go
Normal file
31
plugins/inputs/synproxy/synproxy_notlinux.go
Normal 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{}
|
||||
})
|
||||
}
|
||||
Reference in New Issue
Block a user