2021-08-24 04:37:44 +08:00
|
|
|
//go:build !linux
|
2019-12-03 08:05:50 +08:00
|
|
|
|
|
|
|
|
package systemd_units
|
2024-03-05 23:34:36 +08:00
|
|
|
|
|
|
|
|
import "github.com/influxdata/telegraf"
|
|
|
|
|
|
|
|
|
|
type archParams struct{}
|
|
|
|
|
|
|
|
|
|
func (s *SystemdUnits) Init() error {
|
|
|
|
|
s.Log.Info("Skipping plugin as it is not supported by this platform!")
|
|
|
|
|
|
|
|
|
|
// Required to remove linter-warning on unused struct member
|
|
|
|
|
_ = s.archParams
|
|
|
|
|
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (*SystemdUnits) Gather(_ telegraf.Accumulator) error {
|
|
|
|
|
return nil
|
|
|
|
|
}
|