<div><br></div>environment macros are currently not even handled in nagios 4.0 alpha code. they are extra processing to do for all scripts for something that is likely to be only be one or two variables needed for only a few plugins, you should just set the environment there. so I'm for keeping them disabled by default in 4.0. I'm not sure what to do with 3.x code, it should have probably stayed enabled there as it was before, but as its already done, oh well...<div>

<br><div class="gmail_quote">On Tue, Aug 28, 2012 at 3:49 PM, Alex Bame <span dir="ltr"><<a href="mailto:alex@standsure.com" target="_blank">alex@standsure.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

Hello list,<br>
<br>
Sometime between 3.3.1 and 3.4.1 the default value for the<br>
enable_environment_macros configuration changed from TRUE to FALSE.<br>
The docs and config templates still say that TRUE is the default,<br>
however.<br>
<br>
The attached patch changes it back to TRUE.<br>
<br>
--Alex<br>
<br>
--<br>
Alex Bame<br>
Director of Network Engineering<br>
Stand Sure Systems<br>
"Improving Internet Reliability One Site at a Time"<br>
<br>
<br>
1077 Independence Ave.<br>
Suite B<br>
Mt. View, CA  94043<br>
<a href="http://www.standsure.com" target="_blank">www.standsure.com</a><br>
<br>
<a href="tel:510.299.2713" value="+15102992713">510.299.2713</a>  CELL<br>
<a href="tel:650.967.9070%20x2016" value="+16509679070">650.967.9070 x2016</a><br>
<a href="tel:650.967.9071" value="+16509679071">650.967.9071</a>  FAX<br>
<br>------------------------------------------------------------------------------<br>
Live Security Virtual Conference<br>
Exclusive live event will cover all the ways today's security and<br>
threat landscape has changed and how IT managers can respond. Discussions<br>
will include endpoint security, mobile security and the latest in malware<br>
threats. <a href="http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/" target="_blank">http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/</a><br>_______________________________________________<br>
Nagios-devel mailing list<br>
<a href="mailto:Nagios-devel@lists.sourceforge.net">Nagios-devel@lists.sourceforge.net</a><br>
<a href="https://lists.sourceforge.net/lists/listinfo/nagios-devel" target="_blank">https://lists.sourceforge.net/lists/listinfo/nagios-devel</a><br>
<br></blockquote></div><br></div>