Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateModule ¶
func CreateModule(config *Config) monitoring.Module
Types ¶
type Config ¶
type Config struct { Enabled bool `toml:"enabled" comment:"Set 'false' to disable checking available updates"` Connect string `toml:"connect" comment:"Use 127.0.0.1 or the path to the mysql.socket, connecting to remote databases is not supported"` User string `` /* 131-byte string literal not displayed */ Password string `toml:"password" comment:"Maximum time the package manager is allowed to spend fetching available updates"` ConnectTimeout float64 `toml:"connect_timeout" comment:"Maximum time to wait for mysql server to connect using provided credentials"` }
type Mysql ¶
type Mysql struct {
// contains filtered or unexported fields
}
func (*Mysql) GetDescription ¶
func (*Mysql) Run ¶
func (r *Mysql) Run() ([]*monitoring.ModuleReport, error)
Click to show internal directories.
Click to hide internal directories.