|
|
|
|
|
|
|
|
plugin: netlink |
|
|
plugin: netlink |
|
|
template: linux/files/collectd_netlink.conf |
|
|
template: linux/files/collectd_netlink.conf |
|
|
ignore_selected: {{ monitoring.netlink.ignore_selected }} |
|
|
ignore_selected: {{ monitoring.netlink.ignore_selected }} |
|
|
{%- if monitoring.netlink.interface_override and monitoring.netlink.interfaces is list %} |
|
|
|
|
|
|
|
|
{%- if monitoring.netlink.interfaces is list and monitoring.netlink.interfaces|length > 0 %} |
|
|
{%- set interfaces = monitoring.netlink.interfaces %} |
|
|
{%- set interfaces = monitoring.netlink.interfaces %} |
|
|
{%- else %} |
|
|
{%- else %} |
|
|
{%- set interfaces = salt['linux_netlink.ls'](monitoring.netlink.interface_regex) %} |
|
|
{%- set interfaces = salt['linux_netlink.ls'](monitoring.netlink.interface_regex) %} |