blob: b7b6b1a73bc51bb33e2f2c74540e76bfbd1b6c0b [file] [log] [blame]
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 %}