You need to stop monit, then start it again ("monit -v" is sufficient). The attached output is just configuration dump + waked up running monit daemon. You will find the output in related syslog file - once the problem will occur again (monit thinks the process is running while it is stopped), please check/send the log.
Regards, Martin
Adding host allow 'localhost'Skipping redundant host 'localhost'Skipping redundant host 'localhost'Adding credentials for user 'admin'Adding PAM group 'monit'Adding PAM group 'users'Runtime constants: Control file = /etc/monitrc Log file = syslog Pid file = /var/run/monit.pid Id file = /root/.monit.id State file = /root/.monit.state Debug = True Log = True Use syslog = True Is Daemon = True Use process engine = True Poll time = 10 seconds with start delay 240 seconds Expect buffer = 256 bytes Mail from = (not defined) Mail subject = (not defined) Mail message = (not defined) Start monit httpd = True httpd bind address = localhost httpd portnumber = 2812 httpd signature = True Use ssl encryption = False httpd auth. style = Basic Authentication and Host/Net allow listThe service list contains the following entries:Process Name = recentnews-feed Pid file = /var/run/recentnews-feed.pid Monitoring mode = active Start program = '/sbin/service recentnews-feed start' timeout 30 second(s) Stop program = '/sbin/service recentnews-feed stop' timeout 30 second(s) Existence = if does not exist then restart Pid = if changed then alert PPid = if changed then alert Timeout = If restarted 50 times within 50 cycle(s) then unmonitorProcess Name = nscd Pid file = /var/run/nscd/nscd.pid Monitoring mode = active Start program = '/etc/init.d/nscd start' timeout 30 second(s) Stop program = '/etc/init.d/nscd stop' timeout 30 second(s) Existence = if does not exist then restart Pid = if changed then alert PPid = if changed then alert Timeout = If restarted 5 times within 5 cycle(s) then unmonitorProcess Name = nrpe Pid file = /var/run/nrpe.pid Monitoring mode = active Start program = '/etc/init.d/nrpe start' timeout 30 second(s) Stop program = '/etc/init.d/nrpe stop' timeout 30 second(s) Existence = if does not exist then restart Pid = if changed then alert PPid = if changed then alert Timeout = If restarted 5 times within 5 cycle(s) then unmonitorProcess Name = httpd Pid file = /var/run/httpd/httpd.pid Monitoring mode = active Start program = '/etc/init.d/httpd start' timeout 30 second(s) Stop program = '/usr/bin/killall -9 httpd' timeout 30 second(s) Existence = if does not exist then restart Pid = if changed then alert PPid = if changed then alert Timeout = If restarted 5 times within 5 cycle(s) then unmonitorProcess Name = emissary-master Pid file = /var/run/emissary.pid Monitoring mode = active Start program = '/etc/init.d/emissary start' timeout 30 second(s) Stop program = '/usr/bin/pkill -9 -f (emissary-master|emop_node)' timeout 30 second(s) Existence = if does not exist then restart Pid = if changed then alert PPid = if changed then alert Timeout = If restarted 5 times within 5 cycle(s) then unmonitorFile Name = emissary-pidfile Path = /var/run/emissary.pid Monitoring mode = active Start program = '/etc/init.d/emissary start' timeout 30 second(s) Stop program = '/usr/bin/pkill -9 -f (emissary-master|emop_node)' timeout 30 second(s) Existence = if does not exist then restart Timestamp = if greater than 3600 second(s) then restartProcess Name = du-glass-broker-feed Pid file = /var/run/DU_GlassBroker.php.pid Monitoring mode = active Start program = '/sbin/service du-glass-broker-feed start' timeout 30 second(s) Stop program = '/sbin/service du-glass-broker-feed stop' timeout 30 second(s) Existence = if does not exist then restart Pid = if changed then alert PPid = if changed then alert Timeout = If restarted 5 times within 5 cycle(s) then unmonitorSystem Name = du-proc-00001.du-proc.data-universe-production Monitoring mode = active-------------------------------------------------------------------------------Monit daemon with PID 12702 awakened
-- To unsubscribe: https://lists.nongnu.org/mailman/listinfo/monit-general
|