<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
On 5/24/2012 11:59 PM, Mark Elsen wrote:
<blockquote
cite="mid:CAEA9qt2V=HHS3X7n=0S6kn0hHCcZcu52kAkELOHfBxS_chJuhQ@mail.gmail.com"
type="cite"> <br>
<div class="gmail_quote">
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="HOEnZb">
<div class="h5">
> - I have some 'home-written' notification scripts
launched from NAGIOS ;<br>
> now when using nagios 3.4.1 , all NAGIOS_* variables
are gone. (printenv listing).<br>
<br>
</div>
</div>
>+ Make sure you're not using
large_installation_tweaks and that you have<br>
>+ enable_environment_macros=1 set in nagios.cfg.<br>
<span class="HOEnZb"></span></blockquote>
<div><br>
Tx! I explicitly needed :<br>
<br>
enable_environment_macros=1<br>
<br>
In nagios.cfg when using 3.4.1 , to get my problem
>resolved<. I wasn't using this setting before (nor was
it set to 0).<br>
</div>
</div>
</blockquote>
<br>
<br>
It sure would be neat if this was something you could enable
environment macros per command. Then you could have the default be
off to get better performance for checks, but still get them for
notification commands, which is often the main place they are
useful.<br>
<br>
Mark<br>
<pre class="moz-signature" cols="72">--
Mark D. Nagel, CCIE #3177 <a class="moz-txt-link-rfc2396E" href="mailto:mnagel@willingminds.com"><mnagel@willingminds.com></a>
Principal Consultant, Willing Minds LLC (<a class="moz-txt-link-freetext" href="http://www.willingminds.com">http://www.willingminds.com</a>)
cell: 949-279-5817, desk: 714-495-4001, fax: 714-646-8277
** For faster support response time, please
** email <a class="moz-txt-link-abbreviated" href="mailto:support@willingminds.com">support@willingminds.com</a> or call 714-495-4000</pre>
</body>
</html>