monit-general
[Top][All Lists]
Advanced

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

hi,how to monit ddclient under freebsd8.3?


From: Work
Subject: hi,how to monit ddclient under freebsd8.3?
Date: Wed, 16 Jan 2013 16:06:14 +0800

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

reply via email to

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