[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: featurerequest: "monit unmonitor all for 15m"
From: |
Roedel, Mark |
Subject: |
RE: featurerequest: "monit unmonitor all for 15m" |
Date: |
Wed, 25 Aug 2010 16:09:32 +0000 |
As a workaround -- how about creating a start script that you can launch via an
'at' job?
(Something like 'at -f restarttomcat.sh now + 15 minutes')
--
Mark Roedel
Webmaster
LeTourneau University
-----Original Message-----
From: address@hidden [mailto:address@hidden On Behalf Of Marcus Mülbüsch
Sent: Wednesday, August 25, 2010 5:03 AM
To: This is the general mailing list for monit
Subject: featurerequest: "monit unmonitor all for 15m"
Hello all,
did it ever happen to you, that you want to reconfigure, say, your
tomcat server, and before doing so issue a
/etc/init.d/tomcat-6 stop
Except, of course, tomcat doesn't stay down, because monit restarts
it. Now, you obviously forgot to unmonitor the process. So you issue a
monit unmonitor tomcat
and do your work.
The problem is, that most of the time you forget to start monitoring
the process again when you're finished - at least I do
Wouldn't it be nice to say beforehand how long you want to monit not
to monitor a process?
Can it be done? Or is there any workaround? How do you manage that?
Or do you simply not forget to start monitoring again?
Marcus