Skip to content

jianhaiqing/go-check-mysql-msr

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

go-check-mysql-msr

$ ./check-mysql-msr
MySQL Multi Source Replication OK: [O]main-db=io:Yes,sql:Yes,behind:0 user-db=io:Yes,sql:Yes,behind:0 

usage

$ ./check-mysql-msr -h
Usage:
  check-mysql-msr [OPTIONS]

Application Options:
  -H, --host=     Hostname (localhost)
  -p, --port=     Port (3306)
  -u, --user=     Username (root)
  -P, --password= Password
  -c, --critical= critical if seconds behind master is larger than this number
  -w, --warning=  warning if seconds behind master is larger than this number

Help Options:
  -h, --help      Show this help message

About

check multi source replication

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Go 86.1%
  • Makefile 13.9%