netxms-things/templates/applications/processes/monitor-by-processestomonit.../helper_script.sh

8 lines
154 B
Bash

#!/usr/bin/env bash
PROCESSES=("process1", "process2", "a.*process.*with.*regexp")
for process in ${PROCESSES[@]}; do
echo -e "${process}"
done