disk

package
v0.0.2-0...-4ce78c8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 17, 2021 License: Apache-2.0, Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// SectorSize is exported in github.com/shirou/gopsutil/disk (but not working!)
	SectorSize = 512
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Check

type Check struct {
	core.CheckBase
	// contains filtered or unexported fields
}

Check stores disk-specific additional fields

func (*Check) Configure

func (c *Check) Configure(data integration.Data, initConfig integration.Data, source string) error

Configure the disk check

func (*Check) Run

func (c *Check) Run() error

Run executes the check

type IOCheck

type IOCheck struct {
	core.CheckBase
	// contains filtered or unexported fields
}

IOCheck doesn't need additional fields

func (*IOCheck) Configure

func (c *IOCheck) Configure(data integration.Data, initConfig integration.Data, source string) error

Configure the IOstats check

func (*IOCheck) Run

func (c *IOCheck) Run() error

Run executes the check

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL