enable_environment_macros=1 does not work on 4.3.2

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
nix_user
Posts: 1
Joined: Thu Aug 03, 2017 7:19 am

enable_environment_macros=1 does not work on 4.3.2

Post 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!
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: enable_environment_macros=1 does not work on 4.3.2

Post by scottwilkerson »

Can you post your nagios.cfg as well as how you are re-producing this in your environment?

Thank you!
Former Nagios employee
Creator:
ahumandesign.com
enneagrams.com
dwhitfield
Former Nagios Staff
Posts: 4583
Joined: Wed Sep 21, 2016 10:29 am
Location: NoLo, Minneapolis, MN
Contact:

Re: enable_environment_macros=1 does not work on 4.3.2

Post 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?
Locked