[Top][All Lists]

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

Re: daemon auto stop/start

From: Tomas Nunez
Subject: Re: daemon auto stop/start
Date: Mon, 5 Nov 2012 11:52:58 +0100


You can just unmonitor them. You can do that from command-line (monit unmonitor all) or from the web UI (next to start-stop).

2012/11/5 trm asn <address@hidden>
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
allow localhost
allow admin:monitadmin

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

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

check process mysql with pidfile /var/lib/mysql/
start program  "/etc/init.d/mysql start"
stop program  "/etc/init.d/mysql stop"

--Best Regards,
Tarak Ranjan

To unsubscribe:

Tomàs Núñez
Tel. + 34 93 159 31 00 
Fax. + 34 93 396 18 52
Llull, 95-97, 2º planta, 08005 Barcelona
Skype: tomas.nunez.groupalia
Twitter Twitter    Twitter Facebook    Twitter Linkedin

reply via email to

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