acl/samples/http_probe/bin/test.cf

31 lines
816 B
CFEngine3
Raw Normal View History

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