blob: b7b6b1a73bc51bb33e2f2c74540e76bfbd1b6c0b [file] [log] [blame]
Ales Komarek87824a72015-12-02 13:41:45 +01001plugin:
Ales Komarekfc309cd2015-12-03 22:05:30 +01002 collectd_processes:
3 plugin: processes
4 interval: 60
5 template: collectd/files/collectd_processes.conf
6 process:
Ales Komarekb16e3702015-12-04 14:01:26 +01007 collectdmon:
ovobora730149a2016-06-15 13:04:07 +02008 match: collectdmon
Ales Komarekfc309cd2015-12-03 22:05:30 +01009{%- if pillar.get('external', {}).network_device is defined %}
Ales Komarek87824a72015-12-02 13:41:45 +010010 collectd_network_device:
11 plugin: snmp
Ales Komarekfc309cd2015-12-03 22:05:30 +010012 interval: 60
13 template: collectd/files/collectd_snmp.conf
Ales Komarek87824a72015-12-02 13:41:45 +010014 data:
15 std_traffic:
16 type: if_octets
17 table: true
18 instance: 1.3.6.1.2.1.31.1.1.1.1
19 values:
20 - 1.3.6.1.2.1.31.1.1.1.6
21 - 1.3.6.1.2.1.31.1.1.1.10
22 std_rate:
23 type: if_packets
24 table: true
25 instance: 1.3.6.1.2.1.31.1.1.1.1
26 values:
27 - 1.3.6.1.2.1.31.1.1.1.7
28 - 1.3.6.1.2.1.31.1.1.1.11
29 host: {{ pillar.external.network_device }}
Ales Komarek78fdbee2015-11-26 10:41:45 +010030{%- endif %}