summaryrefslogtreecommitdiff
path: root/roles/monitoring/collectd/network/client/templates/network-client.conf.j2
blob: 83d8931e9f6fc57cc70b2835c31b2012922005d2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
LoadPlugin network

<Plugin "network">
{% if collectd_network_client_auth is defined %}
  <Server "{{ collectd_network_client_server }}">
    SecurityLevel "{{ collectd_network_client_auth.level }}"
    Username "{{ collectd_network_client_auth.username }}"
    Password "{{ collectd_network_client_auth.password }}"
  </Server>
{% else %}
  Server "{{ collectd_network_client_server }}"
{% endif %}
</Plugin>