Skip to content

anujluthra/mysql_replication_monitor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 

Repository files navigation

configs should be defined in config.yml placed at same location as monitor.rb

-----

heartbeat_table: heartbeat
allowed_lag: 120
server_name: slave1

sms_configs:
  sms_gateway_domain: sms.mail.com
  sender: [email protected]
  recepient: 25413652785

email_configs:
  smtp_host: mail.localhost
  smtp_port: 25
  sender: [email protected]
  recepients: [email protected]

databases:
  replicated1:
    host: 127.0.0.1
    port: 3305
    database: replicated_production
    user: replication
    password: repl_pwd
    error_log: absolute/path/to/error.log

  replicated2:
    host: 127.0.0.1
    port: 3304
    database: replicated_production2
    user: replication
    password: repl_pwd
    error_log: absolute/path/to/error.log


About

simple script to monitor mysql replication status using heartbeats

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages