From ec05cb787c89d872e19d4f744fe4fd31d06323cc Mon Sep 17 00:00:00 2001
From: kaliraja <34502260+Kaali09@users.noreply.github.com>
Date: Thu, 9 Jul 2020 20:43:38 +0530
Subject: [PATCH] Issue #0000 feat: updated the flink secor in process exporter
 config (#1663)

* Issue #0000 feat: updated the flink secor in process exporter config

* Issue #0000 feat: updated the flink secor in process exporter config
---
 .../roles/vm-agents-processexporter/templates/config.j2  | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/ansible/roles/vm-agents-processexporter/templates/config.j2 b/ansible/roles/vm-agents-processexporter/templates/config.j2
index 00b3c95d7..9b56d01ba 100644
--- a/ansible/roles/vm-agents-processexporter/templates/config.j2
+++ b/ansible/roles/vm-agents-processexporter/templates/config.j2
@@ -34,7 +34,14 @@ process_names:
     cmdline:
     - .+secor.+
 {% endif %}
-{% if 'kafka-ps' in group_names and hostvars[inventory_hostname]['ansible_default_ipv4']['address'] in groups['kafka-ps'] %}
+{% if 'processing-secor-ps' in group_names and hostvars[inventory_hostname]['ansible_default_ipv4']['address'] in groups['processing-secor-ps'] %}
+- name: "processingsecor"
+    comm:
+    - java
+    cmdline:
+    - .+secor.+
+{% endif %}
+{% if 'zookeeper-ps' in group_names and hostvars[inventory_hostname]['ansible_default_ipv4']['address'] in groups['zookeeper-ps'] %}
   - name: "zookeeper"
     comm:
     - java
-- 
GitLab