Skip to main content
Join the official 2019 Python Developers SurveyStart the survey!

A simple MySQL replication monitor

Project description

Replmon is a simple MySQL replication monitor.

Usage

First, configure /etc/replmon.ini:

[mysql]
user =   MySQL Username
passwd = MySQL Password
host =   MySQL Host (leave empty for local unix socket)
port =   MySQL Port (leave empty for default port)

Next, launch replmon:

$ replmon

Replmon is meant to integrate with tools such as monit. See ./examples.

Output

Replmon will periodically check your MySQL replication status. Each time a check succeeds, Replmon will touch the /var/replmon.status file, so you can monitor changes to this file to know your status.

The check interval is by default 10 seconds.

License

See LICENSE.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for replmon, version 0.1.3
Filename, size File type Python version Upload date Hashes
Filename, size replmon-0.1.3.tar.gz (3.4 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page