Page 1 of 1

enable_environment_macros=1 does not work on 4.3.2

Posted: Thu Aug 24, 2017 8:41 am
by nix_user
Hello Nagios users,

I am trying to configure simple performance tracking with graphs based on pnp4nagios. During investigation I found this issues
https://github.com/NagiosEnterprises/na ... issues/124
and (older http://tracker.nagios.org/view.php?id=498 )
At current moment defect is closed. However, looks like in my environment I can reproduce the same issue. So my question, probably someone can reproduce issue with steps from https://github.com/NagiosEnterprises/na ... issues/124 and I can reopen it ?

My environment description:
nagios-4.3.2-8.el7.x86_64 (from epel)
CentOS Linux release 7.3.1611 (Core)
Configuration file includes all directives related to environment variables.
grep -e use_large_installation_tweaks -e process_performance_data -e enable_environment_macros /etc/nagios/nagios.cfg
process_performance_data=1
use_large_installation_tweaks=0
enable_environment_macros=1

Any ideas what can be wrong are welcome!

Re: enable_environment_macros=1 does not work on 4.3.2

Posted: Thu Aug 24, 2017 4:43 pm
by scottwilkerson
Can you post your nagios.cfg as well as how you are re-producing this in your environment?

Thank you!

Re: enable_environment_macros=1 does not work on 4.3.2

Posted: Thu Aug 24, 2017 4:44 pm
by dwhitfield
In addition to @scottwilkerson's comment, I am curious what version of pnp4nagios are you using. 0.4.14 is known to work best. Can you try that and see if you still have the same issue?