Search found 4 matches

by krpt
Fri Nov 07, 2014 7:35 am
Forum: Open Source Nagios Projects
Topic: Access lost to environment variables in 3.5.1.dfsg-2+b1
Replies: 7
Views: 2498

Re: Access lost to environment variables in 3.5.1.dfsg-2+b1

I meant bashrc variables, variables displayed when typing 'env' in a shell. Used to work, now no more.
by krpt
Fri Oct 31, 2014 5:40 pm
Forum: Open Source Nagios Projects
Topic: Access lost to environment variables in 3.5.1.dfsg-2+b1
Replies: 7
Views: 2498

Re: Access lost to environment variables in 3.5.1.dfsg-2+b1

When running env from the plugin, is that all that is returned, just the NAGIOS_ARG8=? Yes. In addition to the env setting in nagios.cfg, what is the use_large_install_tweaks set to currently? This can override the enable_environment_macros setting if enabled, and disable env macros among other thi...
by krpt
Fri Oct 31, 2014 5:26 am
Forum: Open Source Nagios Projects
Topic: Access lost to environment variables in 3.5.1.dfsg-2+b1
Replies: 7
Views: 2498

Re: Access lost to environment variables in 3.5.1.dfsg-2+b1

thx for trying to answer ;

enable_environment_macros=1

If I was not clear enough, it's System User's variable I can' t access no more, not macros defined in nagios
by krpt
Thu Oct 30, 2014 4:25 am
Forum: Open Source Nagios Projects
Topic: Access lost to environment variables in 3.5.1.dfsg-2+b1
Replies: 7
Views: 2498

Access lost to environment variables in 3.5.1.dfsg-2+b1

Hi there, Running in debian sid, since our last maj from nagios3-core:amd64 3.5.1-1+b1 -> 3.5.1.dfsg-2+b1, we lost access to env variables in plugin ( we run nagios3 as the nagios user and we use env vars for some plugins ). Echoing 'env' in a simple shell plugin ran by nagios gives the 'NAGIOS_ARG8...