telegraf/plugins/inputs/zfs/zfs_other.go

20 lines
314 B
Go
Raw Normal View History

//go:build !linux && !freebsd
2016-06-02 01:58:54 +08:00
// +build !linux,!freebsd
2016-06-02 01:53:29 +08:00
package zfs
import (
"github.com/influxdata/telegraf"
"github.com/influxdata/telegraf/plugins/inputs"
)
func (z *Zfs) Gather(acc telegraf.Accumulator) error {
return nil
}
func init() {
inputs.Add("zfs", func() telegraf.Input {
return &Zfs{}
})
}