Documentation ¶
Index ¶
Constants ¶
View Source
const ( FormatString = "Mem: %v%%" DefaultWarnThreshold = 75 DefaultCritThreshold = 85 )
View Source
const Identifier = "memory"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MemoryConfig ¶
type MemoryConfig struct { Interval string `json:"interval"` WarnThreshold int `json:"warn_threshold"` CritThreshold int `json:"crit_threshold"` }
MemoryConfig represents the configuration for a Memory plugin in JSON format
Click to show internal directories.
Click to hide internal directories.