The installation of Ganglia is mainly divided into two parts: one part is the main control end, installing ganglia-web and gmetad, and the other part is the controlled end, installing gmond. 1. On the master side, install ganglia-web and gmetad The main control end can be concentrated in one VPS, which is used to centrally manage and display the servers that need to be monitored. Under SSH, root user: Prerequisite: Install related dependencies yum -y install apr-devel apr-util check-devel cairo-devel pango-devel libxml2-devel rpm-build glib2-devel dbus-devel freetype-devel fontconfig-devel gcc gcc-c++ expat-devel python-devel libXrender-devel yum install -y libart_lgpl-devel pcre-devel libtool yum install -y rrdtool rrdtool-devel 1. Install ganglia-web and gmetad yum install -y epel-release yum install -y ganglia-web.x86_64 yum install -y ganglia-gmetad.x86_64 2. Start related services systemctl start gmetad.service 3. Changes to gmetad configuration files vi /etc/ganglia/gmetad.conf data_source “bigdata-kylin” localhost data_source "bigdata-kylin" localhost Set the cluster name here. The gmond side must be consistent, especially in multicast mode, and identify it accordingly. The last localhost is the node IP of gmond transmission. Because the gmond side is set to transmit all data to the gmond node at gmetad, it can be set to localhost 4. Install the pagoda panel and set the ganglia directory Install Baota, create a new site, and change the root directory of the configuration file root /usr/share/ganglia 5. Set file permissions chmod 777 -R /var/lib/ganglia-web/dwoo/compiled chmod 777 -R /var/lib/ganglia-web/dwoo/cache 6. Open port 5649 7. Start the machine systemctl start gmetad.service systemctl enable gmetad.service 2. Controlled end, gmond end installation and settings 1. Install gmond yum install -y epel-release yum install -y ganglia-gmond 2. Configuration modification vi /etc/ganglia/gmond.conf Major changes cluster { name = "bigdata-kylin" ##Needs to be consistent with the datasource name defined in gmetad owner = "unspecified" latlong = "unspecified" url = "unspecified" } /* The host section describes attributes of the host, like the location */ host { location = "unspecified" } /* Feel free to specify as many udp_send_channels as you like. Gmond used to only support having a single channel */ udp_send_channel { #mcast_join = 239.27.1.1 ## This is the multicast setting. Remove the unicast mode host = 10.239.1.35 ## The IP (ganglia-web) that transmits data to gmond, set port = 8649 ## The port of the receiving gmond node ttl = 1 } /* You can specify as many udp_recv_channels as you like as well. */ udp_recv_channel { port = 8649 ##gmond's own node port bind = 0.0.0.0 ##gmond listening address, you can also remove it retry_bind = true } 3. Start the machine systemctl start gmond.service systemctl enable gmond.service 4. Restart the service systemctl restart gmetad.service systemctl restart gmond.service Partial reference: https://www.cnblogs.com/marility/p/9444357.html |
As introduced before, the same model now has doub...
QHoster is a Bulgarian hosting company, founded i...
The SkySpace was founded in late 2013 and focuses...
UOVZ, a stable Chinese merchant, has been introdu...
Nogics, an Indian hosting provider, now offers a ...
DediPath, an American merchant, has been introduc...
24Shells, a long-established American hosting com...
CyclonesServers, which has been introduced severa...
LetBox, an American hosting company, has been int...
HKServerSolution, a Chinese hosting provider, fea...
Today, I was surprised to find that the PR of thi...
Comcure is a free website backup service from UK2...
Using a stable educational mailbox, the Onedrive ...
HostTheBest is a long-established American hostin...
Laoliuyun, a Chinese merchant, was established in...