diff options
| author | Nataliia Solomko <natalirs1985@gmail.com> | 2026-04-28 13:50:49 +0300 |
|---|---|---|
| committer | Nataliia Solomko <natalirs1985@gmail.com> | 2026-04-28 13:50:49 +0300 |
| commit | 4da7ae9cd5d9775c0e0e1a7dfe02e3935dca9499 (patch) | |
| tree | bf40982912abcf4a89c4531b1542898836cbae62 /docs/configuration/highavailability/index.rst | |
| parent | 35285ccd24d4c7f24381862384c4c38c0bdf9ff8 (diff) | |
| download | vyos-documentation-4da7ae9cd5d9775c0e0e1a7dfe02e3935dca9499.tar.gz vyos-documentation-4da7ae9cd5d9775c0e0e1a7dfe02e3935dca9499.zip | |
T8293: Add ability to set timeout for high-availability health-check
Diffstat (limited to 'docs/configuration/highavailability/index.rst')
| -rw-r--r-- | docs/configuration/highavailability/index.rst | 16 |
1 files changed, 16 insertions, 0 deletions
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: |
