Documentation ¶
Index ¶
Constants ¶
View Source
const (
VERSION = "0.0.1"
)
Variables ¶
View Source
var ( Debug bool Interval int Slave bool Mysql_username string Mysql_password string Mysql_host string Mysql_port int Zabbix_host string Zabbix_port int Zabbix_hostname string )
View Source
var ConfigFile string
View Source
var Db *sql.DB
View Source
var SlaveStatusToSend = []string{
"Exec_Master_Log_Pos",
"Read_Master_Log_Pos",
"Relay_Log_Pos",
"Seconds_Behind_Master",
"Slave_IO_Running",
"Slave_SQL_Running",
}
View Source
var VersionCmd = &cobra.Command{ Use: "version", Short: "Version", Long: `Version. For example: mymon version`, Run: func(cmd *cobra.Command, args []string) { fmt.Println(VERSION) }, }
VersionCmd represents the ping command
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.