DataDog/dd-agent — pull request #640 by brettlangdon (2013-08-27 12:33:22+00:00)
Title: Alert MySQL Last IO/SQL Errors when replication enabled

This will send events when the MySQL slave receives a Last_IO_Error or Last_SQL_Error. It also tracks whether an error has occurred or not so it doesn't send events every time this check runs, just when the "status" changes (e.g. there is an error to there are no more errors).

The reasoning behind this is we have found with our MySQL slaves that sometimes they stop replicating when there is a IO or SQL error when replicating and we want a way to receive notifications when this happens.