Page 1 of 1

Setting $NOTIFICATIONCOMMENT$ from shell script, how?

Posted: Thu Aug 11, 2016 2:12 am
by eltrasimaco
My email sender command has a $NOTIFICATIONCOMMENT$ macro after the "Notes:" tag; I would like to fill that macro with extended information when some service fails, i have a shell script that outputs some info (it appears both in the email notification and in the web interface); is there any way add information in the "Notes" field (passing string values to $NOTIFICATIONCOMMENT$ ) without enabling environment variable macros

?
TIA

Re: Setting $NOTIFICATIONCOMMENT$ from shell script, how?

Posted: Thu Aug 11, 2016 3:26 pm
by tmcdonald
Barring some arcane corner of the Core code I am unfamiliar with, I believe macros are a one-way street from Core to the script.