Create dummy zfs plugin file
This commit is contained in:
18
plugins/inputs/zfs/zfs_other.go
Normal file
18
plugins/inputs/zfs/zfs_other.go
Normal file
@@ -0,0 +1,18 @@
|
||||
// +build !linux !freebsd
|
||||
|
||||
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{}
|
||||
})
|
||||
}
|
||||
Reference in New Issue
Block a user