On 5/24/2012 11:59 PM, Mark Elsen wrote:
>  
>
>     >   - I have some 'home-written' notification scripts launched
>     from NAGIOS ;
>     > now when using nagios 3.4.1 , all NAGIOS_*  variables are gone.
>     (printenv listing).
>
>           >+ Make sure you're not using large_installation_tweaks and
>     that you have
>           >+ enable_environment_macros=1 set in nagios.cfg.
>       
>
>
>  Tx!  I explicitly needed  :
>
>                   enable_environment_macros=1
>
> 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).


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.

Mark

-- 
Mark D. Nagel, CCIE #3177 <mna...@willingminds.com>
Principal Consultant, Willing Minds LLC (http://www.willingminds.com)
cell: 949-279-5817, desk: 714-495-4001, fax: 714-646-8277

** For faster support response time, please
** email supp...@willingminds.com or call 714-495-4000

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

Reply via email to