diff --git a/check_mysql_slave.py b/check_mysql_slave.py index 2944f28..031dd9d 100755 --- a/check_mysql_slave.py +++ b/check_mysql_slave.py @@ -90,13 +90,13 @@ def main(args): exit_msg.append('Replication is delayed!') elif replication_delay >= crit_deviation_max: exit_code = nagios.STATE_CRIT - exit_msg.append('Replication is ahead???') + exit_msg.append('Replication delay too short!') elif replication_delay <= warn_deviation_min: exit_code = nagios.STATE_WARN exit_msg.append('Replication is delayed!') elif replication_delay >= warn_deviation_max: exit_code = nagios.STATE_WARN - exit_msg.append('Replication is ahead???') + exit_msg.append('Replication delay too short!') if exit_code == nagios.STATE_OK: exit_msg.append('Slave is healthy! Slave SQL: running. Slave IO: running.')