keepalived: add snmp support

This commit is contained in:
jeltz 2023-04-03 18:02:49 +02:00
parent 6ee7a19f21
commit 8b5d587f26
Signed by: jeltz
GPG key ID: 800882B66C0C3326
2 changed files with 5 additions and 0 deletions

View file

@ -6,4 +6,5 @@ keepalived__notify_backup: []
keepalived__notify_fault: []
keepalived__main: false
keepalived__max_auto_priority: -1
keepalived__enable_snmp: true
...

View file

@ -8,6 +8,10 @@ global_defs {
{% if keepalived__max_auto_priority is defined %}
max_auto_priority {{ keepalived__max_auto_priority | int }}
{% endif %}
{% if keepalived__enable_snmp %}
enable_snmp_vrrp
enable_snmp_rfc
{% endif %}
}
{%