Skip to content

shunkica/replication-status

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

replication-status

The script monitors MySQL/MariaDB replication status and alerts via email (or stderr if email is disabled) when issues are detected.

Features

  • Checks if the database is running
  • Alerts on:
    • Slave IO not running
    • Slave SQL not running
    • Slave lag exceeds threshold ( default 300 seconds )
  • Sends email via mailx or msmtp
  • Logs activity to a file

About

Shell script for monitoring MySQL/MariaDB replication status. Optionally sends alerts via email.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages