Skip to content

Instantly share code, notes, and snippets.

@tmusabbir
Last active December 25, 2015 18:19
Show Gist options
  • Save tmusabbir/7019185 to your computer and use it in GitHub Desktop.
Save tmusabbir/7019185 to your computer and use it in GitHub Desktop.
Setting up Ganglia in CentOS
Setting up Ganglia in CentOS
[root@ip-10-0-0-33 tools]$ /sbin/chkconfig --levels 235 gmetad on
[root@ip-10-0-0-194 tools]$ /sbin/chkconfig --levels 235 gmond on
[root@ip-10-0-0-33 ganglia]$ chown -R nobody:root /var/lib/ganglia/rrds
Start gmond: service gmond start
Start gmetad: service gmetad start
Restart httpd: service httpd restart
cluster {
name = "Cloud for Beginners"
owner = "unspecified"
latlong = "unspecified"
url = "unspecified"
}
udp_send_channel {
#mcast_join = 239.2.11.71
host = 10.0.0.33
port = 8649
ttl = 1
}
udp_recv_channel {
#mcast_join = 239.2.11.71
port = 8649
#bind = 239.2.11.71
}
tcp_accept_channel {
port = 8649
}
[root@ip-10-0-0-33 tools]$ tail -f /var/log/messages
[root@ip-10-0-0-33 tools]$ yum install ganglia ganglia-gmetad ganglia-web ganglia-gmond
[root@ip-10-0-0-194 tools]$ yum install ganglia ganglia-gmond
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment