Download, kompilieren, installieren
wget https://labs.consol.de/assets/downloads/nagios/check_mysql_health-2.2.2.tar.gz tar xfz check_mysql_health-2.2.2.tar.gz cd check_mysl_health ./configure make make install
Benötigte Pakete
apt install libdbi-perl apt install libdbd-mysql-perl
Check testen
root@icinga2:/usr/lib/nagios/plugins# ./check_mysql_health -H 127.0.0.1 --user 'username' --password 'password' --mode threads-connected OK - 7 client connection threads | threads_connected=7;10;20
I always spent my half an hour to read this blog’s
articles everyday along with a mug of coffee.