Free variable empty
Posted: Tue Jul 24, 2018 5:44 am
Hi
I defined a command which uses free variables
The commands looks like this
Then I defined a service that uses that alert notification command and defined 2 free variables
When the alert comes it has a subject "Nagios Alert: $" It does not show the content of the free variable.
Nagios XI 5.4.13
I defined a command which uses free variables
The commands looks like this
Code: Select all
/usr/bin/printf "%b" "***** Nagios Monitor XI Alert *****\n\n$_HOSTCUSTOM_MESSAGE$" | /bin/mail -s "Nagios Alert: $_HOSTCUSTOM_SUBJECT$" $CONTACTEMAIL$When the alert comes it has a subject "Nagios Alert: $" It does not show the content of the free variable.
Nagios XI 5.4.13