diff options
| author | Viacheslav Hletenko <v.gletenko@vyos.io> | 2026-04-03 15:23:33 +0000 |
|---|---|---|
| committer | Viacheslav Hletenko <v.gletenko@vyos.io> | 2026-04-10 15:08:59 +0000 |
| commit | be66e4a5e97c2ab846515f5b483abafb21b6759c (patch) | |
| tree | 02ca6c916b11bbfadf6bd71519edd7495073fc0f /data | |
| parent | b476308dc3f64cb1b250b101568f49ab870b6bd1 (diff) | |
| download | vyos-1x-be66e4a5e97c2ab846515f5b483abafb21b6759c.tar.gz vyos-1x-be66e4a5e97c2ab846515f5b483abafb21b6759c.zip | |
T8448: VRRP add configuration for the SNMP traps
Allow to configure Keepalived VRRP traps
- set high-availability vrrp snmp trap
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 }} |
