Merge "Add local endpoint check in collectd" into stacklight
This commit is contained in:
commit
94f07b53ca
|
@ -1,6 +1,11 @@
|
|||
{%- if pillar.cinder.controller is defined %}
|
||||
{%- from "cinder/map.jinja" import controller with context %}
|
||||
|
||||
local_plugin:
|
||||
collectd_check_local_endpoint:
|
||||
endpoint:
|
||||
cinder-api:
|
||||
expected_code: 200
|
||||
url: "http://{{ controller.osapi.host|replace('0.0.0.0', '127.0.0.1') }}:8776/"
|
||||
remote_plugin:
|
||||
openstack_cinder:
|
||||
plugin: python
|
||||
|
|
Loading…
Reference in New Issue