address@hidden /etc]# monit -vI monit: Debug: Adding net allow '192.168.7.51'. monit: Debug: Adding net allow '192.168.1.114'. monit: Debug: Adding credentials for user 'admin'. Runtime constants: Control file = /etc/monitrc Log file = syslog Pid file = /var/run/monit.pid Debug = True Log = True Use syslog = True Is Daemon = True Use process engine = True Poll time = 5 seconds Mail server(s) = localhost Mail from = (not defined) Mail subject = (not defined) Mail message = (not defined) Start monit httpd = True httpd bind address = 192.168.13.55 httpd portnumber = 2812 httpd signature = True Use ssl encryption = False httpd auth. style = Basic Authentication and Host/Net allow list Alert mail to = address@hidden Alert on = All events The service list contains the following entries: Process Name = mysql Pid file = /var/lib/mysql/manage.pid Monitoring mode = active Start program = /etc/ha.d/resource.d/sqld start Stop program = /etc/ha.d/resource.d/sqld stop Pid = if changed 1 times within 1 cycle(s) then exec Ppid = if changed 1 times within 1 cycle(s) then alert Port = if failed 127.0.0.1:3306 [MYSQL via TCP] with timeout 5 seconds 1 times within 1 cycle(s) then exec else if passed 1 times within 1 cycle(s) then alert System Name = manage Monitoring mode = active ------------------------------------------------------------------------------- monit: pidfile '/var/run/monit.pid' does not exist Starting monit daemon with http interface at [192.168.13.55:2812] Starting monit HTTP server at [192.168.13.55:2812] monit HTTP server started Monit started Monit instance changed notification is sent to address@hidden 'mysql' zombie check passed [status_flag=0000] 'mysql' succeeded connecting to INET[127.0.0.1:3306] via TCP 'mysql' succeeded testing protocol [MYSQL] at INET[127.0.0.1:3306] via TCP Monit has not changed monit: pidfile '/var/lib/mysql/manage.pid' does not exist 'mysql' process is not running Does not exist notification is sent to address@hidden 'mysql' trying to restart Monitoring disabled -- service mysql monit: pidfile '/var/lib/mysql/manage.pid' does not exist monit: pidfile '/var/lib/mysql/manage.pid' does not exist 'mysql' start: /etc/ha.d/resource.d/sqld monit: pidfile '/var/lib/mysql/manage.pid' does not exist monit: pidfile '/var/lib/mysql/manage.pid' does not exist Monitoring enabled -- service mysql Starting mysqld daemon with databases from /var/lib/mysql 060523 10:28:10 mysqld ended monit: pidfile '/var/lib/mysql/manage.pid' does not exist monit: pidfile '/var/lib/mysql/manage.pid' does not exist monit: pidfile '/var/lib/mysql/manage.pid' does not exist monit: pidfile '/var/lib/mysql/manage.pid' does not exist monit: pidfile '/var/lib/mysql/manage.pid' does not exist 'mysql' process is not running 'mysql' trying to restart Monitoring disabled -- service mysql monit: pidfile '/var/lib/mysql/manage.pid' does not exist monit: pidfile '/var/lib/mysql/manage.pid' does not exist 'mysql' start: /etc/ha.d/resource.d/sqld monit: pidfile '/var/lib/mysql/manage.pid' does not exist monit: pidfile '/var/lib/mysql/manage.pid' does not exist 'mysql' failed to start Execution failed notification is sent to address@hidden monit: pidfile '/var/lib/mysql/manage.pid' does not exist Monitoring enabled -- service mysql Starting mysqld daemon with databases from /var/lib/mysql 'mysql' started Execution succeeded notification is sent to address@hidden 'mysql' process is running with pid 10747 Exists notification is sent to address@hidden 'mysql' zombie check passed [status_flag=0000] 'mysql' succeeded connecting to INET[127.0.0.1:3306] via TCP 'mysql' succeeded testing protocol [MYSQL] at INET[127.0.0.1:3306] via TCP 'mysql' zombie check passed [status_flag=0000] 'mysql' PID has not changed since last cycle 'mysql' PPID has not changed since last cycle 'mysql' succeeded connecting to INET[127.0.0.1:3306] via TCP 'mysql' succeeded testing protocol [MYSQL] at INET[127.0.0.1:3306] via TCP