simple perl tools for monitoring mysql slave instances and restoring them