diff --git a/CHANGELOG b/CHANGELOG index 2ecba16..478c6a9 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -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 diff --git a/evocheck.sh b/evocheck.sh index b7cd83d..4589c26 100755 --- a/evocheck.sh +++ b/evocheck.sh @@ -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 }