diff options
| author | Christian Breunig <christian@breunig.cc> | 2026-04-10 15:20:21 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-04-10 15:20:21 +0000 |
| commit | e5abe253584e0a60e19abcefad06140754649145 (patch) | |
| tree | 3da9b7495e397d17e751fb6b0a252daf0e84a0fb /data | |
| parent | 9dccb75c72644fbdf80001259f0438b5f17c8f19 (diff) | |
| parent | be66e4a5e97c2ab846515f5b483abafb21b6759c (diff) | |
| download | vyos-1x-e5abe253584e0a60e19abcefad06140754649145.tar.gz vyos-1x-e5abe253584e0a60e19abcefad06140754649145.zip | |
Merge pull request #5108 from sever-sever/T8448
T8448: add an option to enable SNMP traps in VRRP
Diffstat (limited to 'data')
| -rw-r--r-- | data/templates/high-availability/keepalived.conf.j2 | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/data/templates/high-availability/keepalived.conf.j2 b/data/templates/high-availability/keepalived.conf.j2 index c0d66ae54..f0ed7909c 100644 --- a/data/templates/high-availability/keepalived.conf.j2 +++ b/data/templates/high-availability/keepalived.conf.j2 @@ -5,6 +5,9 @@ # Global definitions configuration block global_defs { dynamic_interfaces +{% if vrrp.snmp.trap is vyos_defined %} + enable_traps +{% endif %} script_user root {% if vrrp.global_parameters.startup_delay is vyos_defined %} vrrp_startup_delay {{ vrrp.global_parameters.startup_delay }} |
