forked from evolix/evocheck
check_mysqlmunin : Complain if munin plugin mysql_commands returns an error
This is important to catch incompatibilities between the munin plugin and the mysql output
This commit is contained in:
parent
dc17587423
commit
3fa6c082a1
|
@ -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
|
||||
|
|
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue