From 49418680a1a74fb0c312d8a096edb5af5145be10 Mon Sep 17 00:00:00 2001 From: Jeleel Muibi Date: Mon, 24 Aug 2026 20:21:14 +0100 Subject: docs: T9145: document WLB health script variables --- docs/configuration/loadbalancing/wan.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'docs') diff --git a/docs/configuration/loadbalancing/wan.md b/docs/configuration/loadbalancing/wan.md index a19bbfae..bcd83917 100644 --- a/docs/configuration/loadbalancing/wan.md +++ b/docs/configuration/loadbalancing/wan.md @@ -174,7 +174,9 @@ type WLB test type address or hostname. - `test-script`: A user-defined script must return 0 to succeed and non-zero to fail. Scripts reside in `/config/scripts`. For other locations, - provide the full path. + provide the full path. When the script runs, VyOS sets + `WLB_INTERFACE_NAME` to the interface under test. The same value is available + as `WLB_SCRIPT_IFACE` for backward compatibility. - `ttl-limit`: For the UDP TTL limit test, specify the hop count limit. The limit must be shorter than the path length. The test succeeds when an ICMP time-expired message is returned. Default `1`. -- cgit v1.2.3