Skip to content

Instantly share code, notes, and snippets.

View wesdeboer's full-sized avatar

Wes DeBoer wesdeboer

View GitHub Profile
@wesdeboer
wesdeboer / slave_running
Created February 10, 2012 18:54
Detect if a mysql slave is still running and touch slave_running, monit then watches the timestamp on the file
check file slave_running with path /opt/slave_running
if timestamp > 3 minutes then alert