| plugin: |
| collectd_processes: |
| plugin: processes |
| interval: 60 |
| template: collectd/files/collectd_processes.conf |
| process: |
| collectdmon: |
| match: collectdmon |
| {%- if pillar.get('external', {}).network_device is defined %} |
| collectd_network_device: |
| plugin: snmp |
| interval: 60 |
| template: collectd/files/collectd_snmp.conf |
| data: |
| std_traffic: |
| type: if_octets |
| table: true |
| instance: 1.3.6.1.2.1.31.1.1.1.1 |
| values: |
| - 1.3.6.1.2.1.31.1.1.1.6 |
| - 1.3.6.1.2.1.31.1.1.1.10 |
| std_rate: |
| type: if_packets |
| table: true |
| instance: 1.3.6.1.2.1.31.1.1.1.1 |
| values: |
| - 1.3.6.1.2.1.31.1.1.1.7 |
| - 1.3.6.1.2.1.31.1.1.1.11 |
| host: {{ pillar.external.network_device }} |
| {%- endif %} |