1
0
Fork 0
mirror of synced 2024-12-22 06:31:06 -05:00

Add collectd support

This commit is contained in:
Simon Pasquier 2016-11-04 10:55:11 +01:00
parent 72e186cba8
commit 777902ad8f
2 changed files with 11 additions and 1 deletions

10
grafana/meta/collectd.yml Normal file
View file

@ -0,0 +1,10 @@
{%- if pillar.grafana.server is defined %}
{%- from "grafana/map.jinja" import server with context %}
{%- if server.get('enabled', False) %}
local_plugin:
collectd_processes:
process:
grafana-server: {}
{%- endif %}
{%- endif %}

View file

@ -2,7 +2,7 @@ parameters:
grafana: grafana:
_support: _support:
collectd: collectd:
enabled: false enabled: true
heka: heka:
enabled: false enabled: false
sensu: sensu: