Adding upstream version 1.34.4.
Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
parent
e393c3af3f
commit
4978089aab
4963 changed files with 677545 additions and 0 deletions
25
plugins/inputs/zfs/zfs_other.go
Normal file
25
plugins/inputs/zfs/zfs_other.go
Normal file
|
@ -0,0 +1,25 @@
|
|||
//go:build !linux && !freebsd
|
||||
|
||||
package zfs
|
||||
|
||||
import (
|
||||
"github.com/influxdata/telegraf"
|
||||
"github.com/influxdata/telegraf/plugins/inputs"
|
||||
)
|
||||
|
||||
type helper struct{} //nolint:unused // not used for "other" OSes, needed for Zfs struct
|
||||
|
||||
func (z *Zfs) Init() error {
|
||||
z.Log.Warn("Current platform is not supported")
|
||||
return nil
|
||||
}
|
||||
|
||||
func (*Zfs) Gather(telegraf.Accumulator) error {
|
||||
return nil
|
||||
}
|
||||
|
||||
func init() {
|
||||
inputs.Add("zfs", func() telegraf.Input {
|
||||
return &Zfs{}
|
||||
})
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue