monit-general
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: hi,how to monit ddclient under freebsd8.3?


From: Prajwal Manjunath
Subject: Re: hi,how to monit ddclient under freebsd8.3?
Date: Wed, 16 Jan 2013 13:41:57 +0530

It should work. You've specified the PID file, which is the first thing monit checks. If monit doesn't find the PID file at that location, it immediately attempts to restart the service.
Port checks are done after the PID check, and are not mandatory for monit to work. It's just an additional control tool for services with external connections.


On Wed, Jan 16, 2013 at 1:36 PM, Work <address@hidden> wrote:
Hi,anyone who can tell me hwo to do?
 
#Check Dynamic DNS tools ddclient
check process ddclient with pidfile /var/run/ddclient.pid
   group www
   start program = "/usr/local/etc/rc.d/ddclient start"
   stop  program = "/usr/local/etc/rc.d/ddclient stop"
   if 5 restarts within 5 cycles then timeout
   depends on ddclient_bin
   depends on ddclient_rc
 
check file ddclient_bin with path /usr/local/sbin/ddclient
   group www
   if failed checksum then unmonitor
   if failed permission 555 then unmonitor
   if failed uid root then unmonitor
 
 check file ddclient_rc with path /usr/local/etc/rc.d/ddclient
   group www
   if failed checksum then unmonitor
   if failed permission 555 then unmonitor
   if failed uid root then unmonitor
 
Because ddclient have no port(i think),so, the above is right?
 
Thanks a lot!

顺祝商祺。
 
----
北京市快捷诚电子技术有限公司  王俊明
电话:010-88097128-8802
Email:address@hidden
网址:www.ibmserver.com.cn

--
To unsubscribe:
https://lists.nongnu.org/mailman/listinfo/monit-general


reply via email to

[Prev in Thread] Current Thread [Next in Thread]