Documentation ¶
Overview ¶
Package ipmimon provides interface to IPMI monitoing
Index ¶
Constants ¶
View Source
const ( TypePowerSupply = "Power Supply" TypePowerUnit = "Power Unit" )
View Source
const ( StateNominal = "Nominal" StateWarning = "Warning" StateCritical = "Critical" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Item ¶
type Item struct { ID int `csv:"ID" json:"id"` Name string `csv:"Name" json:"name"` Type string `csv:"Type" json:"type"` State string `csv:"State" json:"state"` Reading string `csv:"Reading" json:"reading"` Units string `csv:"Units" json:"units"` Event string `csv:"Event" json:"event"` }
Item represents one line from the report
ipmimonitoring --comma-separated-output | head -n1 ID,Name,Type,State,Reading,Units,Event
Click to show internal directories.
Click to hide internal directories.