[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Error: the executable does not exist 'su'
From: |
Jan-Henrik Haukeland |
Subject: |
Re: Error: the executable does not exist 'su' |
Date: |
Wed, 16 Aug 2006 00:21:50 +0200 |
On 15. aug. 2006, at 22.53, Anoop kumar V wrote:
... and I do not want monit to restart my weblogic if it finds that
it fails..but I still want it to continue monitoring.... how can i
achieve that.. As of now I have "alert" if service is not
running... but then when the service is not running, it just
unmonitors the process...
Use passive monitoring mode for monit to only to send alerts on
error. See http://www.tildeslash.com/monit/doc/
manual.php#monitoring_mode
All I want to do is monit to strictly monitor the weblogic
processes and do nothing if the process is not running - we will
keep checking the monit url and if any process if not running we
will restart it. (The other problem is that we do not want monit to
restart a process if it was brought down by us.. like for a code
deployment etc..)
If you actively monitor weblogic (recommended so it can start/stop/
exec stuff on errors) simply add to your deploy script at the start
'monit unmonitor weblogic' then deploy and finally add 'monit monitor
weblogic' again. For example.
--
Jan-Henrik Haukeland