You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Has anybody successfully built ganglia RPMs for CentOS 8? There was a version in EPEL for CentOS 7 but they do not have one for 8.
I used the method shown below and gmond appears to be collecting data (when run with -d 20 -f, it even lists the node name) but it won't share it. It lists requests as they happen, and returns a data structure. However, gstat shows 0 for all hosts fields and says there is no gexec. (Yes, gmond.conf was set to gexec = yes). telnet to the port shows "!ELEMENT HOSTS EMPTY" instead of hosts information. There is only the one node in this "cluster", perhaps that is the issue?
More info. A laptop running Ubuntu 18.04 LTS is on the same network. Started ganglia on it with:
sudo apt-get install ganglia-monitor rrdtool gmetad
!installed version 3.6.0-7
!modify /etc/ganglia/gmond.conf to "gexec=yes"
!stop and restart gmond on the laptop
gstat -a
!or on original node
gstat -i 192.168.0.185 -a
CLUSTER INFORMATION
Name: unspecified
Hosts: 2
Gexec Hosts: 2
Dead Hosts: 0
Localtime: Mon Mar 30 14:25:15 2020
CLUSTER HOSTS
Hostname LOAD CPU Gexec
CPUs (Procs/Total) [ 1, 5, 15min] [ User, Nice, System, Idle, Wio]
192.168.0.121
4 ( 2/ 433) [ 0.02, 0.02, 0.03] [ 2.3, 0.0, 0.5, 97.2, 0.0] ON
porthog
2 ( 0/ 310) [ 0.14, 0.08, 0.10] [ 0.2, 0.0, 1.5, 98.0, 0.2] ON
!but query gmond on "poweredge" from self and see:
CLUSTER INFORMATION
Name: unspecified
Hosts: 0
Gexec Hosts: 0
Dead Hosts: 0
Localtime: Mon Mar 30 14:26:14 2020
There are no hosts up at this time
!or from laptop with
gstat -i 192.168.0.121 -a
Unable to get hostlist from 192.168.0.121 8649!
So apparently the 3.7.2 gmond can send but not receive information. There are no firewalls running and SELINUX makes no difference - gstat on 3.6.0 and 3.7.2 show the same information (more or less) when they query the same gmond server.
The text was updated successfully, but these errors were encountered:
The problem was that "firewalld" was running and its configuration was not in any way visible with "iptables --list". The RPMs built from the Fedora src.rpms did not set rules for firewalld which would let them work (accept connections). Without those rules gmond could still talk to gmond on other sysetms.
I only figured this out because there was for some reason a firewalld rule for "cockpit" so that nmap from another machine showed port 9090 even though lsof on the CentOS 8 machine had nothing on that port. cockpit was not running or installed, and never had been.
So add the appropriate ports to the firewalld configuration. (Forget about iptables, since it is broken/not available on CentOS 8. iptables --list still runs but it does not actually show the existing rules!)
Has anybody successfully built ganglia RPMs for CentOS 8? There was a version in EPEL for CentOS 7 but they do not have one for 8.
I used the method shown below and gmond appears to be collecting data (when run with -d 20 -f, it even lists the node name) but it won't share it. It lists requests as they happen, and returns a data structure. However, gstat shows 0 for all hosts fields and says there is no gexec. (Yes, gmond.conf was set to gexec = yes). telnet to the port shows "!ELEMENT HOSTS EMPTY" instead of hosts information. There is only the one node in this "cluster", perhaps that is the issue?
Built and tested like so:
More info. A laptop running Ubuntu 18.04 LTS is on the same network. Started ganglia on it with:
So apparently the 3.7.2 gmond can send but not receive information. There are no firewalls running and SELINUX makes no difference - gstat on 3.6.0 and 3.7.2 show the same information (more or less) when they query the same gmond server.
The text was updated successfully, but these errors were encountered: