[root@testserver19_0 ~]# yum install ganglia-gmond.x86_64 ==================================================================================================================================================== Package Arch Version Repository Size ==================================================================================================================================================== Installing: ganglia-gmond x86_64 3.7.2-2.el7 epel 81 k Installing for dependencies: ganglia x86_64 3.7.2-2.el7 epel 102 k libconfuse x86_64 2.7-7.el7 epel 80 k Transaction Summary ====================================================================================================================================================
[root@testserver19_0 ~]# vim /etc/ganglia/gmond.conf # ommit cluster { name = "MyCluster" owner = "unspecified" latlong = "unspecified" url = "unspecified" } # ommit udp_send_channel { #bind_hostname = yes # Highly recommended, soon to be default. # This option tells gmond to use a source address # that resolves to the machine's hostname. Without # this, the metrics may appear to come from any # interface and the DNS names associated with # those IPs will be used to create the RRDs. #mcast_join = 239.2.11.71 host = 192.168.0.1 port = 8649 ttl = 1 } # ommit udp_recv_channel { #mcast_join = 239.2.11.71 port = 8649 #bind = 239.2.11.71 #retry_bind = true # Size of the UDP buffer. If you are handling lots of metrics you really # should bump it up to e.g. 10MB or even higher. # buffer = 10485760 }
[root@testserver19_0 ~]# systemctl start gmond [root@testserver19_0 ~]# systemctl status gmond ● gmond.service - Ganglia Monitoring Daemon Loaded: loaded (/usr/lib/systemd/system/gmond.service; disabled; vendor preset: disabled) Active: active (running) since Tue 2016-11-22 15:49:43 JST; 44min ago Process: 18716 ExecStart=/usr/sbin/gmond (code=exited, status=0/SUCCESS) Main PID: 18717 (gmond) CGroup: /system.slice/gmond.service └─18717 /usr/sbin/gmond Nov 22 15:49:43 testserver_0 systemd[1]: Starting Ganglia Monitoring Daemon... Nov 22 15:49:43 testserver_0 systemd[1]: Started Ganglia Monitoring Daemon.