Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExecuteCheck ¶
Types ¶
type OptionalNumber ¶
func (*OptionalNumber) String ¶
func (self *OptionalNumber) String() string
type OptionalThreshold ¶
func (*OptionalThreshold) Set ¶
func (self *OptionalThreshold) Set(s string) error
func (*OptionalThreshold) String ¶
func (self *OptionalThreshold) String() string
type Perfdata ¶
type Perfdata struct {
Label, UOM string
Value float64
Warn, Crit OptionalThreshold
Min, Max OptionalNumber
}
func (*Perfdata) GetStatus ¶
func (self *Perfdata) GetStatus() PerfdataStatus
type PerfdataCollection ¶
type PerfdataCollection []Perfdata
func (PerfdataCollection) String ¶
func (self PerfdataCollection) String() string
type PerfdataStatus ¶
type PerfdataStatus uint8
const Critical PerfdataStatus = 2
const Ok PerfdataStatus = 0
const Warning PerfdataStatus = 1
Click to show internal directories.
Click to hide internal directories.