|
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!
顺祝商祺。 |
[Prev in Thread] | Current Thread | [Next in Thread] |