2018-07-11 23:43:49 +00:00
|
|
|
// +build windows
|
|
|
|
|
|
|
|
package processes
|
2020-01-10 20:43:28 +00:00
|
|
|
|
|
|
|
import (
|
|
|
|
"github.com/influxdata/telegraf"
|
|
|
|
"github.com/influxdata/telegraf/plugins/inputs"
|
|
|
|
)
|
|
|
|
|
|
|
|
type Processes struct {
|
|
|
|
Log telegraf.Logger
|
|
|
|
}
|
|
|
|
|
|
|
|
func (e *Processes) Init() error {
|
|
|
|
e.Log.Warn("Current platform is not supported")
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (e *Processes) Gather(acc telegraf.Accumulator) error {
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func init() {
|
|
|
|
inputs.Add("processes", func() telegraf.Input {
|
|
|
|
return &Processes{}
|
|
|
|
})
|
|
|
|
}
|