From 4da7ae9cd5d9775c0e0e1a7dfe02e3935dca9499 Mon Sep 17 00:00:00 2001 From: Nataliia Solomko Date: Tue, 28 Apr 2026 13:50:49 +0300 Subject: T8293: Add ability to set timeout for high-availability health-check --- docs/configuration/highavailability/index.rst | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'docs/configuration/highavailability') diff --git a/docs/configuration/highavailability/index.rst b/docs/configuration/highavailability/index.rst index c82391c7..952a345b 100644 --- a/docs/configuration/highavailability/index.rst +++ b/docs/configuration/highavailability/index.rst @@ -347,6 +347,22 @@ times: .. start_vyoslinter +An optional ``timeout`` can be set to define the maximum number of seconds the +script is allowed to run. This is useful for scripts that may hang or take +longer than expected — setting the timeout higher than the interval allows +longer-running scripts to complete before being considered failed. + +.. stop_vyoslinter + +.. code-block:: none + + set high-availability vrrp group Foo health-check script /config/scripts/vrrp-check.sh + set high-availability vrrp group Foo health-check interval 20 + set high-availability vrrp group Foo health-check failure-count 3 + set high-availability vrrp group Foo health-check timeout 40 + +.. start_vyoslinter + When the vrrp group is a member of the sync group will use only the sync group health check script. This example shows how to configure it for the sync group: -- cgit v1.2.3