Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gmond seems to ignore block comments in multicpu.conf after gmond-python is installed #269

Open
stephensje opened this issue Sep 28, 2016 · 1 comment

Comments

@stephensje
Copy link

I administer a Linux cluster running CentOS 6.6 and recently installed Ganglia 3.7.2. The default gmond setup is working as expected. A few of the nodes have GPUs, so I installed gmond-python so I could later add the nVidia metrics. The installation went fine, but I noticed that ganglia-web now shows all the multicpu metrics, even though I did not touch the multicpu.conf file (where these metrics are all commented out by default). I can only make them go away by renaming the multicpu.conf file.

@afbjorklund
Copy link
Contributor

This is the default behaviour (i.e. loading the module means enabling the metrics too).

In some debian packaging (.deb), they avoided this by renaming the configuration file:

Note:

- mod_multicpu is not enabled by default, you must rename the config:

   cd /etc/ganglia/conf.d && mv mod_multicpu.conf-sample mod_multicpu.conf

I don't think that this was from the ganglia-gmond-python package, though ?

http://pkgs.fedoraproject.org/cgit/rpms/ganglia.git/tree/ganglia.spec?h=el6

The mod_multicpu seems to be included in the main ganglia-gmond rpm:

cp -p gmond/modules/conf.d/*.conf $RPM_BUILD_ROOT%{_sysconfdir}/ganglia/conf.d/

rm -f $RPM_BUILD_ROOT%{_sysconfdir}/ganglia/conf.d/{modgstatus,example}.conf

Maybe ask the Fedora EPEL maintainer of ganglia, to make it opt-in ?
(and there does seem to be a similar issue, with the 9 *.pyconf files)

  • /etc/ganglia/conf.d/cpu_stats.pyconf
  • /etc/ganglia/conf.d/diskfree.pyconf
  • /etc/ganglia/conf.d/diskstat.pyconf
  • /etc/ganglia/conf.d/entropy.pyconf
  • /etc/ganglia/conf.d/mem_stats.pyconf
  • /etc/ganglia/conf.d/multi_interface.pyconf
  • /etc/ganglia/conf.d/netstats.pyconf
  • /etc/ganglia/conf.d/procstat.pyconf
  • /etc/ganglia/conf.d/vm_stats.pyconf

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants