|
From: | sven falempin |
Subject: | Re: cant seem to make monit monitor a service |
Date: | Mon, 25 Nov 2013 12:04:23 -0500 |
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
cat /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.
:(
charles
--
To unsubscribe:
https://lists.nongnu.org/mailman/listinfo/monit-general
[Prev in Thread] | Current Thread | [Next in Thread] |