Hello list,<br><br>How can I access Nagios variables like <span style="font-size:11.0pt;font-family:"Calibri","sans-serif"">$NOTIFICATIONTYPE$, </span><span style="font-size:11.0pt;font-family:"Calibri","sans-serif"">$SHORTDATETIME$, etc from a text file passed in a command?<br>
<br>I have one command which is:<br>/usr/local/bin/sendEmail -o message-file=/etc/nagios/message.txt ... bla bla bla<br><br>And inside message.txt I have those variables. However when I am notified, I am not getting variable's values, instead, it gives me the plain string "</span><span style="font-size:11.0pt;font-family:"Calibri","sans-serif"">$NOTIFICATIONTYPE$", etc.<br>
<br>Googling didn't help too much.<br><br>Thanks for all help on this!<br><br>Best regards,<br><br>Bruno<br></span>