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
Setting $NOTIFICATIONCOMMENT$ from shell script, how?
-
eltrasimaco
- Posts: 75
- Joined: Thu Aug 02, 2012 7:15 am
Re: Setting $NOTIFICATIONCOMMENT$ from shell script, how?
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.
Former Nagios employee