Ack, I had the newline in the wrong spot. If we just want the channels on the next line, this should be how it goes.
Code: Select all
for CHAN in $NOT_RUNNING_CHANNELS
do
MESSAGE="${MESSAGE} :\n ${CHAN}"
done
If that still doesn't get you what you're looking for, then write out the text how you'd like it to be in side of code blocks on the forum. I may not be fully getting what you're asking for here.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new
Privacy Policy.
Be sure to check out our
Knowledgebase for helpful articles and solutions!