Merge pull request #9 from simonpasquier/add-collectd-support
Add collectd support
This commit is contained in:
commit
de5d730e12
2 changed files with 11 additions and 1 deletions
10
grafana/meta/collectd.yml
Normal file
10
grafana/meta/collectd.yml
Normal 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 %}
|
|
@ -2,7 +2,7 @@ parameters:
|
||||||
grafana:
|
grafana:
|
||||||
_support:
|
_support:
|
||||||
collectd:
|
collectd:
|
||||||
enabled: false
|
enabled: true
|
||||||
heka:
|
heka:
|
||||||
enabled: false
|
enabled: false
|
||||||
sensu:
|
sensu:
|
||||||
|
|
Loading…
Reference in a new issue