From 634bf0357ec5ad9c223073c49256ad8d35864ad1 Mon Sep 17 00:00:00 2001 From: Kevin Carter Date: Fri, 6 Jul 2018 11:24:56 -0500 Subject: [PATCH] correct stat option when ceph is present Change-Id: I5316d359c2c334c588b048d877410273782a90f1 Signed-off-by: Kevin Carter --- elk_metrics_6x/installMetricbeat.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/elk_metrics_6x/installMetricbeat.yml b/elk_metrics_6x/installMetricbeat.yml index c41e70fe..a9ea77f6 100644 --- a/elk_metrics_6x/installMetricbeat.yml +++ b/elk_metrics_6x/installMetricbeat.yml @@ -128,7 +128,7 @@ {% if (ceph_mons is defined) and (ceph_mons | length > 0) and (inventory_hostname in groups['cinder_volume']) %} {% set ceph_detect = true %} {% else %} - {% set ceph_detect = ceph.stats.exists | bool %} + {% set ceph_detect = ceph.stat.exists | bool %} {% endif %} {{ ceph_detect }}