MySQLのレプリケーションの遅延状況をGrowthForecastでグラフ化するワンライナー
とりあえず簡単に見たいときに使えますね
curl -F `mysql -e 'show slave status\G'|awk -F ':' '/Seconds_Behind_Master/{printf "number=%d",$2}'` http://example.com/api/path/to/graph
cronで毎分実行とかしておけば良いんじゃないかな
awk力が足りない..