Merge "Add local endpoint check in collectd" into stacklight

This commit is contained in:
Jenkins 2016-11-08 15:00:39 +00:00 committed by Gerrit Code Review
commit 94f07b53ca
1 changed files with 6 additions and 1 deletions

View File

@ -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