mirror of
https://gitee.com/acl-dev/acl.git
synced 2024-12-16 01:40:52 +08:00
31 lines
816 B
CFEngine3
31 lines
816 B
CFEngine3
|
|
|||
|
service probe {
|
|||
|
loglevel = 2
|
|||
|
logfile = probe.log
|
|||
|
fork_sleep=0
|
|||
|
|
|||
|
####################################################################################################
|
|||
|
probed_server = <server_name="<EFBFBD><EFBFBD>ͨ<EFBFBD><EFBFBD>վ:192.168.0.2", \
|
|||
|
addr=192.168.0.2:80, \
|
|||
|
url=http://www.test.com/, \
|
|||
|
connect_timeout=60, \
|
|||
|
rw_timeout=60, \
|
|||
|
retry_inter=5, \
|
|||
|
probe_inter=5, \
|
|||
|
http_errors=500:503:504, \
|
|||
|
log=www.log, \
|
|||
|
warn_time=2>
|
|||
|
|
|||
|
probed_server = <server_name="<EFBFBD><EFBFBD>ͨ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>:192.168.0.3", \
|
|||
|
addr=192.168.0.3:80, \
|
|||
|
url=http://blog.test.com/, \
|
|||
|
connect_timeout=60, \
|
|||
|
rw_timeout=60, \
|
|||
|
retry_inter=5, \
|
|||
|
probe_inter=5, \
|
|||
|
http_errors=500:503:504, \
|
|||
|
log=blog.log, \
|
|||
|
warn_time=2>
|
|||
|
####################################################################################################
|
|||
|
}
|