keepalived: add snmp support
This commit is contained in:
parent
6ee7a19f21
commit
8b5d587f26
2 changed files with 5 additions and 0 deletions
|
@ -6,4 +6,5 @@ keepalived__notify_backup: []
|
||||||
keepalived__notify_fault: []
|
keepalived__notify_fault: []
|
||||||
keepalived__main: false
|
keepalived__main: false
|
||||||
keepalived__max_auto_priority: -1
|
keepalived__max_auto_priority: -1
|
||||||
|
keepalived__enable_snmp: true
|
||||||
...
|
...
|
||||||
|
|
|
@ -8,6 +8,10 @@ global_defs {
|
||||||
{% if keepalived__max_auto_priority is defined %}
|
{% if keepalived__max_auto_priority is defined %}
|
||||||
max_auto_priority {{ keepalived__max_auto_priority | int }}
|
max_auto_priority {{ keepalived__max_auto_priority | int }}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
{% if keepalived__enable_snmp %}
|
||||||
|
enable_snmp_vrrp
|
||||||
|
enable_snmp_rfc
|
||||||
|
{% endif %}
|
||||||
}
|
}
|
||||||
|
|
||||||
{%
|
{%
|
||||||
|
|
Loading…
Reference in a new issue