summaryrefslogtreecommitdiff
path: root/usr.sbin
diff options
context:
space:
mode:
authorReyk Floeter <reyk@cvs.openbsd.org>2007-02-22 04:13:07 +0000
committerReyk Floeter <reyk@cvs.openbsd.org>2007-02-22 04:13:07 +0000
commit9e07dc64a7f609b15dbf537d3f984b72641c918e (patch)
tree8b01616fa6e631175b80abb8dc5c86c425bc64a6 /usr.sbin
parentec1c7338c5de5f0c42f05ab99f8c9b64c11efcab (diff)
document the retry option before setting the state to down for hosts
in tables.
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/hoststated/hoststated.conf.511
-rw-r--r--usr.sbin/relayd/relayd.conf.511
2 files changed, 18 insertions, 4 deletions
diff --git a/usr.sbin/hoststated/hoststated.conf.5 b/usr.sbin/hoststated/hoststated.conf.5
index 9b5afe6b717..46864ff7e0c 100644
--- a/usr.sbin/hoststated/hoststated.conf.5
+++ b/usr.sbin/hoststated/hoststated.conf.5
@@ -1,4 +1,4 @@
-.\" $OpenBSD: hoststated.conf.5,v 1.19 2007/02/22 04:06:18 reyk Exp $
+.\" $OpenBSD: hoststated.conf.5,v 1.20 2007/02/22 04:13:06 reyk Exp $
.\"
.\" Copyright (c) 2006 Pierre-Yves Ritschard <pyr@spootnik.org>
.\"
@@ -227,11 +227,18 @@ keyword in
Start the table disabled \(en no hosts will be checked in this table.
The table can be later enabled through
.Xr hoststatectl 8 .
-.It Ic host Ar address
+.It Xo
+.Ic host Ar address
+.Op Ic retry Ar number
+.Xc
Add the host whose address is
.Ar address
to the list of hosts to be checked in this table.
Each table needs at least one host.
+The optional retry option adds a tolerance for failed host checks,
+the check will be retried for
+.Ar number
+more times before setting the host state to down.
.It Ic real port Ar port
When using the TCP or HTTP checking methods, use this
.Ar port
diff --git a/usr.sbin/relayd/relayd.conf.5 b/usr.sbin/relayd/relayd.conf.5
index 0b6800ce3a7..ed1e18211d5 100644
--- a/usr.sbin/relayd/relayd.conf.5
+++ b/usr.sbin/relayd/relayd.conf.5
@@ -1,4 +1,4 @@
-.\" $OpenBSD: relayd.conf.5,v 1.19 2007/02/22 04:06:18 reyk Exp $
+.\" $OpenBSD: relayd.conf.5,v 1.20 2007/02/22 04:13:06 reyk Exp $
.\"
.\" Copyright (c) 2006 Pierre-Yves Ritschard <pyr@spootnik.org>
.\"
@@ -227,11 +227,18 @@ keyword in
Start the table disabled \(en no hosts will be checked in this table.
The table can be later enabled through
.Xr hoststatectl 8 .
-.It Ic host Ar address
+.It Xo
+.Ic host Ar address
+.Op Ic retry Ar number
+.Xc
Add the host whose address is
.Ar address
to the list of hosts to be checked in this table.
Each table needs at least one host.
+The optional retry option adds a tolerance for failed host checks,
+the check will be retried for
+.Ar number
+more times before setting the host state to down.
.It Ic real port Ar port
When using the TCP or HTTP checking methods, use this
.Ar port