From 41910e8a4b2a39c778cb852d09d423faf66cf74f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=ADctor=20Rebollo=20P=C3=A9rez?= Date: Fri, 24 May 2024 15:04:38 +0100 Subject: [PATCH] feat: support wazuh-indexer monitoring --- deps/wazuh_testing/wazuh_testing/tools/performance/binary.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deps/wazuh_testing/wazuh_testing/tools/performance/binary.py b/deps/wazuh_testing/wazuh_testing/tools/performance/binary.py index eb02eef076..6a3d190615 100644 --- a/deps/wazuh_testing/wazuh_testing/tools/performance/binary.py +++ b/deps/wazuh_testing/wazuh_testing/tools/performance/binary.py @@ -78,7 +78,7 @@ def get_process_pids(cls, process_name, check_children=True) -> list: if any(filter(lambda x: f'{process_name}.py' in x, proc.cmdline())): pid = proc.pid break - elif process_name == 'wazuh-indexer': + elif process_name in ['wazuh-indexer', 'wazuh-dashboard']: if any(filter(lambda x: f'{process_name}' in x, proc.cmdline())): pid = proc.pid break