24 lines
403 B
Go
24 lines
403 B
Go
|
// +build !linux
|
||
|
|
||
|
package infiniband
|
||
|
|
||
|
import (
|
||
|
"github.com/influxdata/telegraf"
|
||
|
"github.com/influxdata/telegraf/plugins/inputs"
|
||
|
)
|
||
|
|
||
|
func (i *Infiniband) Init() error {
|
||
|
i.Log.Warn("Current platform is not supported")
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
func (_ *Infiniband) Gather(acc telegraf.Accumulator) error {
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
func init() {
|
||
|
inputs.Add("infiniband", func() telegraf.Input {
|
||
|
return &Infiniband{}
|
||
|
})
|
||
|
}
|