check_mysql returning critical even when slave running
Posted: Tue Dec 05, 2017 10:18 am
Name : nagios-plugins-mysql
Arch : x86_64
Version : 2.2.1
Release : 4git.el7
Hi,
I am checking a mariadb slave via the following command:
/usr/lib64/nagios/plugins/check_mysql --check-slave -u root --warning 1000 -p......
This SOMETIMES is returning an exit code of 2 due to mariadb returning the following:
Slave IO: Preparing Slave SQL: Yes Seconds Behind Master: (null)
This is not an error and the slave is still actually running. I think the check is expecting YES and anything else is seen as a critical.
Is this a bug or am I using it incorrectly.
Thanks.
Arch : x86_64
Version : 2.2.1
Release : 4git.el7
Hi,
I am checking a mariadb slave via the following command:
/usr/lib64/nagios/plugins/check_mysql --check-slave -u root --warning 1000 -p......
This SOMETIMES is returning an exit code of 2 due to mariadb returning the following:
Slave IO: Preparing Slave SQL: Yes Seconds Behind Master: (null)
This is not an error and the slave is still actually running. I think the check is expecting YES and anything else is seen as a critical.
Is this a bug or am I using it incorrectly.
Thanks.