Fix search patterns for kafka and cassandra processes
Change-Id: Ic4c6cec00ded9a0142af404b181a5b0d92cabe76
PROD-related: PROD-33728
PROD-related: PROD-33727
diff --git a/opencontrail/meta/telegraf.yml b/opencontrail/meta/telegraf.yml
index 21cc5d3..7780b25 100644
--- a/opencontrail/meta/telegraf.yml
+++ b/opencontrail/meta/telegraf.yml
@@ -61,12 +61,12 @@
zookeeper-server:
pattern: 'java.*zookeeper.server'
cassandra-server:
- pattern: 'java.*service.CassandraDaemon'
+ pattern: 'java.*/usr/share/cassandra'
{%- if version < 4.0 %}
contrail-nodemgr-database:
pattern: 'python.*contrail-nodemgr.*-database'
kafka-server:
- pattern: 'java.*kafka.Kafka'
+ pattern: 'java.*kafka'
contrail-supervisord-database:
pattern: 'python.*supervisord.*_database'
{%- else %}
@@ -74,7 +74,7 @@
contrail-nodemgr-database:
pattern: 'python.*contrail-nodemgr.*-database'
kafka-server:
- pattern: 'java.*kafka.Kafka'
+ pattern: 'java.*kafka'
{%- endif %}
{%- endif %}
{%- endif %}