Skip to content

murdinc/mysql-healthcheck

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

mysql-healthcheck

Mysql Health Check Daemon

Build Status

Intro

mysql-healthcheck is a A simple program designed to run as a daemon to respond to ELB health checks for mysql servers. It checks the query count and slave status to determine if an instance is healthy.

Installation

curl -s http://dl.sudoba.sh/get/mysql-healthcheck | sh

Configuration

The configuration file is loaded from: /etc/mysql/mysql-healthcheck.cnf and the options are very simple to configure. Example:

[Mysql]
port = 3306
username= user
password = pw
database = db

[HealthCheck]
port = 9999
maxqueries = 150
checkslavestatus # make sure that mysql slave is running

About

MySQL ELB health check service

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages