From 219facab246e86bfec220831bd9198af7aeb3e79 Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Wed, 3 Dec 2014 15:47:42 -0700 Subject: [PATCH] Fix monasca_checks host_alive YAML configuration The YAML structure for monasca_checks' host_alive was incorrect in the playbooks, preventing host_alive checks from functioning. One would see no host_alive_status metrics, and this error in collector.log: .host_alive(services_checks.py:92) | Each service check must have a name Change-Id: I52a91362d7c958d27087933ccd91de326da9392e --- devstack.yml | 7 +++---- mini-mon.yml | 7 +++---- 2 files changed, 6 insertions(+), 8 deletions(-) diff --git a/devstack.yml b/devstack.yml index deede81..efa7eca 100644 --- a/devstack.yml +++ b/devstack.yml @@ -18,10 +18,9 @@ ssh_timeout: 0.5 ping_timeout: 1 instances: - - mini-mon: - name: mini-mon - host_name: 192.168.10.4 - alive_test: ssh + - name: mini-mon + host_name: 192.168.10.4 + alive_test: ssh keystone_url: http://192.168.10.5:35357/v3 keystone_admin_token: ADMIN keystone_users: diff --git a/mini-mon.yml b/mini-mon.yml index 85ad365..445a40a 100644 --- a/mini-mon.yml +++ b/mini-mon.yml @@ -59,10 +59,9 @@ ssh_timeout: 0.5 ping_timeout: 1 instances: - - devstack: - name: devstack - host_name: 192.168.10.5 - alive_test: ssh + - name: devstack + host_name: 192.168.10.5 + alive_test: ssh mysql_host: "{{mini_mon_host}}" mysql_users: notification: password