diff options
author | Viacheslav Hletenko <v.gletenko@vyos.io> | 2023-09-15 07:24:48 +0000 |
---|---|---|
committer | Mergify <37929162+mergify[bot]@users.noreply.github.com> | 2023-09-15 15:55:36 +0000 |
commit | 0c94a95a2de541edd3bce487c48a269b91a60ae9 (patch) | |
tree | 767976e18938771c8e84ff0843b72bcca7e04a4f /data/templates | |
parent | c5498ec219d02c1f671c0ff8b8e780d684ee24b0 (diff) | |
download | vyos-1x-0c94a95a2de541edd3bce487c48a269b91a60ae9.tar.gz vyos-1x-0c94a95a2de541edd3bce487c48a269b91a60ae9.zip |
T5586: Disable by default SNMP for Keeplived VRRP service
AgentX does not work stable. From time to time we see the system
service crashing/degrading if something is wrong with SNMP from
util net-snmp.
We should disable it by default and enable it only if configured.
set high-availability vrrp snmp
(cherry picked from commit 47875457cd8b176f7f23a3141175d745aeb14d8a)
Diffstat (limited to 'data/templates')
-rw-r--r-- | data/templates/high-availability/10-override.conf.j2 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/data/templates/high-availability/10-override.conf.j2 b/data/templates/high-availability/10-override.conf.j2 index d1cb25581..c153f09b4 100644 --- a/data/templates/high-availability/10-override.conf.j2 +++ b/data/templates/high-availability/10-override.conf.j2 @@ -1,5 +1,5 @@ ### Autogenerated by ${vyos_conf_scripts_dir}/high-availability.py ### -{% set snmp = '' if vrrp.disable_snmp is vyos_defined else '--snmp' %} +{% set snmp = '--snmp' if vrrp.snmp is vyos_defined else '' %} [Unit] After=vyos-router.service # Only start if there is our configuration file - remove Debian default |