Hi List,

I would like to disable auto stop/start of services from monit. Rather that
task I will keep as manually from web UI.

My config is as below .

set eventqueue basedir /var/monit/ slots 1000
set mmonit http://monit:[email protected]:8080/collector
set httpd port 2812 and use address 192.168.1.13
allow localhost
allow 192.168.1.100
allow admin:monitadmin

set idfile /var/monit/id
set statefile /var/monit/state

include /etc/monit.d/*
check process sshd with pidfile /var/run/sshd.pid
start program  "/etc/init.d/sshd start"
stop program  "/etc/init.d/sshd stop"

check process mysql with pidfile /var/lib/mysql/10-167-161-12.pid
start program  "/etc/init.d/mysql start"
stop program  "/etc/init.d/mysql stop"

--Best Regards,
Tarak Ranjan
--
To unsubscribe:
https://lists.nongnu.org/mailman/listinfo/monit-general

Reply via email to