diff options
author | Gerardo Malazdrewicz <36243997+GerMalaz@users.noreply.github.com> | 2021-10-31 09:37:55 -0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-31 09:37:55 -0300 |
commit | 3929c5ac37a5b6c6ae0430c40438da087da07e1a (patch) | |
tree | 94a7739edf3af341a88996d50febb41a3285b43b /gl/locale.in.h | |
parent | 7415eb2f065911b138e167e35d0f67cddb5718ef (diff) | |
download | monitoring-plugins-3929c5a.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 'gl/locale.in.h')
0 files changed, 0 insertions, 0 deletions