monit-general
[Top][All Lists]
Advanced

[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

Hi

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 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



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


reply via email to

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