diff --git a/ansible/install/roles/collectd-openstack/templates/controller.collectd.conf.j2 b/ansible/install/roles/collectd-openstack/templates/controller.collectd.conf.j2 index c4758afed..813c7e617 100644 --- a/ansible/install/roles/collectd-openstack/templates/controller.collectd.conf.j2 +++ b/ansible/install/roles/collectd-openstack/templates/controller.collectd.conf.j2 @@ -1466,8 +1466,11 @@ PreCacheChain "PreCache" - # Slightly different than Undercloud + {%if 'Pike' in osp_version['content'] | b64decode %} + + {% else %} + {% endif %} Instance "mysqld" Regex "\\[ERROR\\]" @@ -1878,7 +1881,11 @@ PreCacheChain "PreCache" + {%if 'Pike' in osp_version['content'] | b64decode %} + + {% else %} + {% endif %} Instance "rabbitmq" Regex "ERROR REPORT"