|Subject:||cant seem to make monit monitor a service|
|Date:||Tue, 26 Nov 2013 00:08:25 +0800|
Hello Martin and all,
i have a very basic requirement,restart a service whenever it goes down
this is what i have in /etc/monit.d/orkrfb
check process orkrfb with pidfile /var/log/orkrfb/orkrfb.lock
start program "/sbin/service orkrfb start"
stop program "/sbin/service orkrfb stop"
if 5 restarts within 5 cycles then timeout
i have set logfile to /var/log/monit.log and had the log followed (tail -f)
stopped the service and log file isnt doing anything
tail -f /var/log/monit.log
[AST Nov 25 18:53:38] info : Starting monit daemon with http interface at [localhost:2812]
[AST Nov 25 18:53:38] info : Starting monit HTTP server at [localhost:2812]
[AST Nov 25 18:53:38] info : monit HTTP server started
[AST Nov 25 18:53:38] info : 'localhost.local' Monit started
my installed version is monit-5.5-1.el5.rf
anything you guys can suggest? i cant seem to make this work.
|[Prev in Thread]||Current Thread||[Next in Thread]|