thermal

package
v0.0.0-...-c4b98d2 Latest Latest
Warning

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

Go to latest
Published: Jun 2, 2023 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Collect

func Collect(ctx context.Context, parentPath string, cc *common.CollectorContext) error

func Describe

func Describe(ch chan<- *prometheus.Desc)

Types

type Fan

type Fan struct {
	Name           string        `json:"FanName"`
	CurrentReading float64       `json:"CurrentReading"`
	Status         common.Status `json:"Status"`
}

type Temperature

type Temperature struct {
	Name                   string        `json:"Name"`
	ReadingCelsius         float64       `json:"ReadingCelsius"`
	UpperThresholdCritical float64       `json:"UpperThresholdCritical"`
	UpperThresholdFatal    float64       `json:"UpperThresholdFatal"`
	Status                 common.Status `json:"Status"`
}

type Thermal

type Thermal struct {
	Temperatures []Temperature `json:"Temperatures"`
	Fans         []Fan         `json:"Fans"`
}

Jump to

Keyboard shortcuts

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