Werk #4100: mk_mysql: Only perform queries if mysqladmin ping is successful#

KomponenteChecks & Agents
Titelmk_mysql: Only perform queries if mysqladmin ping is successful#
Datum2016-12-12 10:47:59
Checkmk EditionCheckmk Raw Edition (CRE)
Checkmk Version1.4.0i3,1.2.8p15
LevelTrivial Change
KlasseBug Fix
KompatibilitätKompatibel - benötigt kein manuelles Eingreifen

Previously, a dead MySQL daemon would lead to the mk_mysql plugin causing high server load. This has been fixed by performing the more detailed queries only if the mysqladmin ping is successful.

Thanks to Evy Bongers for this patch.