there is a problem with check_mysql in the trixie version with checking
the slave:
$ /usr/lib/nagios/plugins/check_mysql -H localhost -S -u MYUSER -p
MYPASSWORD
Slave status unavailable
after discussing the matter with someone from monitoring-plugins via
IRC I tried the new version 2.4.0-5 from forky and it works fine:
$ /usr/lib/nagios/plugins/check_mysql -H localhost -S -u MYUSER -p
MYPASSWORD
Uptime: 3238 Threads: 4 Questions: 1486 Slow queries: 0 Opens: 17
Open tables: 10 Queries per second avg: 0.458 Slave IO: Yes Slave SQL:
Yes Seconds Behind Master: 0|Connections=240c;;;; Open_files=32;;;;
Open_tables=10;;;; Qcache_free_memory=0;;;; Qcache_hits=0c;;;;
Qcache_inserts=0c;;;; Qcache_lowmem_prunes=0c;;;;
Qcache_not_cached=0c;;;; Qcache_queries_in_cache=0;;;;
Queries=1486c;;;; Questions=1462c;;;; Table_locks_waited=0c;;;;
Threads_connected=2;;;; Threads_running=3;;;; Uptime=3238c;;;; 'seconds
behind master'=0.000000s;60.000000;90.000000
could you please backport the version from forky to trixie?
I am using Debian 13.5, Kernel 6.12.88+deb13-amd64 and libc 2.41-
12+deb13u3
Thanks,
Matt