check_mysqlmunin : Complain if munin plugin mysql_commands returns an error
Some checks reported errors
continuous-integration/drone/push Build was killed

This is important to catch  incompatibilities between the munin plugin and the mysql output
This commit is contained in:
Jérémy Lecour 2022-01-03 09:34:30 +01:00 committed by Jérémy Lecour
parent dc17587423
commit 3fa6c082a1
2 changed files with 4 additions and 0 deletions

View file

@ -5,6 +5,8 @@ and this project **does not adhere to [Semantic Versioning](http://semver.org/sp
### Added
check_mysqlmunin : Complain if munin plugin mysql_commands returns an error
### Changed
### Deprecated

View file

@ -1006,6 +1006,8 @@ check_mysqlmunin() {
test "${VERBOSE}" = 1 || break
fi
done
munin-run mysql_commands 2> /dev/null > /dev/null
test $? -eq 0 || failed "IS_MYSQLMUNIN" "Munin plugin mysql_commands returned an error"
fi
fi
}