netxms-things/templates/processes/monitor-by-processestomonitor-list/helper_script.sh

8 lines
154 B
Bash
Raw Normal View History

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