diff options
author | Reyk Floeter <reyk@cvs.openbsd.org> | 2007-05-29 17:12:05 +0000 |
---|---|---|
committer | Reyk Floeter <reyk@cvs.openbsd.org> | 2007-05-29 17:12:05 +0000 |
commit | 38000c0016053a0eebfae69396d10e540215c127 (patch) | |
tree | 02d435527f27f05896db1360229bfd8c268db642 /usr.sbin/relayd/relayd.conf.5 | |
parent | 8719c126f654083ba85d41e39f5d8e9666235239 (diff) |
add a new check method which allows to run external scripts/programs
for custom evaluations.
pyr agrees to put it in now but to do some improvements of the timeout
handling later.
Diffstat (limited to 'usr.sbin/relayd/relayd.conf.5')
-rw-r--r-- | usr.sbin/relayd/relayd.conf.5 | 17 |
1 files changed, 16 insertions, 1 deletions
diff --git a/usr.sbin/relayd/relayd.conf.5 b/usr.sbin/relayd/relayd.conf.5 index 62056584def..5bf06abb520 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.43 2007/05/27 19:21:15 reyk Exp $ +.\" $OpenBSD: relayd.conf.5,v 1.44 2007/05/29 17:12:04 reyk Exp $ .\" .\" Copyright (c) 2006 Pierre-Yves Ritschard <pyr@spootnik.org> .\" @@ -204,6 +204,21 @@ If the .Ic ssl keyword is present, the transaction will occur in an SSL tunnel. +.It Ic check script Ar path +Execute an external program to check the host state. +The program will be executed for each host by specifing the host name +on the command line: +.Bd -literal -offset indent +/usr/local/bin/checkload.pl front-www1.private.example.com +.Ed +.Pp +.Xr hoststated 8 +expects a positive return value on success and zero on failure. +Note that the script will be executed with the privileges of the +.Qq _hoststated +user and terminated after +.Ar timeout +milliseconds. .It Ic check ssl Perform a complete SSL handshake with each host to check their availability. .It Ic check tcp |