Dear Maintainer,
*** Reporter, please consider answering these questions, where appropriate ***
I upgraded from Buster (ganglia version 3.6.0) to Bullseye (3.7.2), resulting
in
apt-get install ganglia-monitor
service ganglia-monitor restart
I could no longer get any useful reports to the gmetad server. While the gmond
was running, I eventually found several lines of the type
gmond[3101722]: Cannot load /usr/lib/ganglia/modcpu.so metric module: /usr/lib/ganglia/modcpu.so: cannot open shared object file: No such file or directory
in the syslog.
Ganglia's gmond used to find its modules before, but no longer does.
This is not related to gmond.conf (which has been changed to reflect the right
interface, and mute mode).
Closer inspection of the package itself and the related ones showed that
the modules are now in a multiarch subdirectory, /usr/lib/*/ganglia - while
gmond apparently doesn't know about that.
Adding a symlink ganglia -> */ganglia in /usr/lib fixes the issue.
I suspect that versions 3.6.0 had no multiarch support / a lower compat level.
I cannot test at the moment whether bookworm is also affected.
Thanks for your consideration.