Skip to content

Commit

Permalink
Merge pull request #5432 from wazuh/feat/wazuh-jenkins6444-support-da…
Browse files Browse the repository at this point in the history
…shboard-monitoring

Support wazuh-indexer monitoring
  • Loading branch information
juliamagan committed Jun 6, 2024
2 parents b19b94a + 41910e8 commit 46aba00
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 46aba00

Please sign in to comment.