Merge "Add local endpoint check in collectd" into stacklight
This commit is contained in:
commit
3ca6a69038
|
@ -0,0 +1,14 @@
|
|||
{%- if pillar.heat.server is defined %}
|
||||
{%- from "heat/map.jinja" import server with context %}
|
||||
{%- if server.get('enabled', False) %}
|
||||
local_plugin:
|
||||
collectd_check_local_endpoint:
|
||||
endpoint:
|
||||
heat-api:
|
||||
expected_code: 300
|
||||
url: "http://{{ server.bind.api|replace('0.0.0.0', '127.0.0.1') }}:8004/"
|
||||
heat-cfn-api:
|
||||
expected_code: 300
|
||||
url: "http://{{ server.bind.api_cfn|replace('0.0.0.0', '127.0.0.1') }}:8000/"
|
||||
{%- endif %}
|
||||
{%- endif %}
|
|
@ -2,7 +2,7 @@ parameters:
|
|||
heat:
|
||||
_support:
|
||||
collectd:
|
||||
enabled: false
|
||||
enabled: true
|
||||
heka:
|
||||
enabled: true
|
||||
sensu:
|
||||
|
|
Loading…
Reference in New Issue