Skip to content

HydeZhaoToo/chkslave

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

chkslave

用于检测 mysql从库健康 并发送邮件报警

依赖

安装golang 详情http://www.alaiblog.com/program/step-by-step-install-golang-go.html

go get github.com/Unknwon/goconfig

go get github.com/go-sql-driver/mysql

安装

go build chkslave.go

执行

./chkslave -config=slave.ini

进行后台执行

nohup ./chkslave -config=slave.ini &

About

check mysql slave status

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages