monit-general
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

daemon auto stop/start


From: trm asn
Subject: daemon auto stop/start
Date: Mon, 5 Nov 2012 15:11:33 +0530

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:address@hidden: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

reply via email to

[Prev in Thread] Current Thread [Next in Thread]