summaryrefslogtreecommitdiffstats
path: root/perlmods/Module-Metadata-1.000014.tar.gz
diff options
context:
space:
mode:
authorGerardo Malazdrewicz <36243997+GerMalaz@users.noreply.github.com>2021-10-31 12:37:55 (GMT)
committerGitHub <noreply@github.com>2021-10-31 12:37:55 (GMT)
commit3929c5ac37a5b6c6ae0430c40438da087da07e1a (patch)
tree94a7739edf3af341a88996d50febb41a3285b43b /perlmods/Module-Metadata-1.000014.tar.gz
parent7415eb2f065911b138e167e35d0f67cddb5718ef (diff)
downloadmonitoring-plugins-3929c5ac37a5b6c6ae0430c40438da087da07e1a.tar.gz
check_mysql.c: Detect running mysqldump
When checking a slave, if the IO Thread or the SQL Thread are stopped, check for running mysqldump threads, return STATE_OK if there is any. Requires PROCESS privilege to work (else the mysqldump thread(s) would not be detected). Enlarged SLAVERESULTSIZE to fit "Mysqldump: in progress" at the end of the string. Got a NULL pointer in row[seconds_behind_field] instead of the "NULL" string when a mysqldump is running [mysql 5.7.34 + libmariadb3 10.3.31], so added a check for that.
Diffstat (limited to 'perlmods/Module-Metadata-1.000014.tar.gz')
0 files changed, 0 insertions, 0 deletions