[PATCH] Fix default value for enable_environment_macros

Ton Voon tonvoon at gmail.com
Thu Jan 10 23:31:31 CET 2013


On 29 Aug 2012, at 14:05, Andreas Ericsson wrote:

> On 08/29/2012 12:49 AM, Alex Bame wrote:
>> Hello list,
>> 
>> Sometime between 3.3.1 and 3.4.1 the default value for the
>> enable_environment_macros configuration changed from TRUE to FALSE.
>> The docs and config templates still say that TRUE is the default,
>> however.
>> 
>> The attached patch changes it back to TRUE.
>> 
> 
> NAK. William provided a reasonable explanation, so I won't get into
> one. I'll make sure to mention it in the release-notes though and
> I'll also change the sample config to make sure they're set to FALSE
> by default there too.

The sample-config still has a default value of 1.

However, even with this set to true, it looks like Nagios 4 doesn't set the envvars. In host/service checks, it looks like no envvars are set. Is there a technical reason why this is not done, or is this a bug?

Ton


------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122712




More information about the Developers mailing list