<<pidfile /var/log/orkrfb/orkrfb.lock>>
...

On Mon, Nov 25, 2013 at 11:08 AM, Charles Pino <[email protected]>wrote:

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



-- 
---------------------------------------------------------------------------------------------------------------------
() ascii ribbon campaign - against html e-mail
/\
--
To unsubscribe:
https://lists.nongnu.org/mailman/listinfo/monit-general

Reply via email to