- edited description
mysql username error
I didn't found the "full changelog" to check if this "bug" have already been fixed (not search results for "mysql username").
$ cat /etc/debian_version
7.10
$ monit -V
This is Monit version 5.4
Copyright (C) 2001-2012 Tildeslash Ltd. All Rights Reserved.
$ monit -vv
/etc/monit/conf.d/mysqld:6: Error: syntax error 'username'
$ cat /etc/monit/conf.d/mysqld
check process mysqld with pidfile /var/run/mysqld/mysqld.pid
start program = "/etc/init.d/mysql start"
stop program = "/etc/init.d/mysql stop"
if failed
port 3306
protocol mysql username "user" password "pass"
then alert
Comments (4)
-
reporter -
repo owner - changed status to closed
The username+password support for mysql test was added in Monit 5.14, please upgrade to Monit 5.17.1
-
reporter Okay, thank you, got it to work creating a debian package and then installing it :
wget https://bitbucket.org/tildeslash/monit/downloads/monit-5.17.1.tar.gz apt-get build-dep monit apt-get source monit cd monit-5.4/ uupdate ../monit-5.17.1.tar.gz cd ../monit-5.17.1 dpkg-buildpackage -us -uc -nc // Got some errors here, so I need to create / copy some files : touch doc/PLATFORMS mkdir contrib cp ./system/startup/monit.upstart contrib cp ./system/startup/monit.service contrib/ dpkg-buildpackage -us -uc -nc ls ../*.deb ../monit_5.17.1-1_amd64.deb
Maybe I should have asked this question on the mailing list (just saw it this morning...)
-
repo owner - removed version
Removing version: 5.4 (automated comment)
- Log in to comment