Loosing NAGIOS_* env variables in 3.4.1

Mark D. Nagel mnagel at willingminds.com
Fri May 25 14:52:16 CEST 2012


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 <mnagel at 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 support at willingminds.com or call 714-495-4000

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20120525/aa55d12b/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
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/
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at 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


More information about the Users mailing list