MySQL Warnings shown
Napsty opened this issue · comments
Claudio Kuenzler commented
# /usr/lib/nagios/plugins/check_mysql_write.sh -H mysqlhost -u monitoring -p supersecret -d monitoring
mysql: [Warning] Using a password on the command line interface can be insecure.
mysql: [Warning] Using a password on the command line interface can be insecure.
OK: Write query successful (UPDATE monitoring SET mytime=1566392156 WHERE host='icinga')
Claudio Kuenzler commented
Fixed using PR #2
# /usr/lib/nagios/plugins/check_mysql_write_ck.sh -H mysqlhost -u monitoring -p supersecret -d monitoring
OK: Write query successful (UPDATE monitoring.monitoring SET mytime=1566392616 WHERE host='icinga')