From 7747961e7f3ce72a83dca56659afbaa80269140f Mon Sep 17 00:00:00 2001 From: Cyberes Date: Fri, 9 Aug 2024 15:00:13 -0600 Subject: [PATCH] check_mysql_slave: clarify message --- check_mysql_slave.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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.')