Ganglia: Host Configuration
From Debian Clusters
This is part two of a three-part tutorial on installing and configuring Ganglia on Debian. The full tutorial includes
- Installing Ganglia
- Configuring Ganglia: the host node (gmetad)
- Configuring Ganglia: the client nodes (gmon)
Contents |
Reminder
By this point, you should have already installed the Ganglia meta daemon on the head node with
apt-get install gmetad
/etc/gmetad.conf
The base of controls for gmetad in Debian is /etc/gmetad.conf. Going through the file from the beginning to the end, here are a few values to possibly change. You can search for these inside your favorite text editor.
Required Changes
Some of these are commented out by default (they have a # in front of the line). They need to be uncommented to work.
authority- This should be set to yourhost.yourdomain.com/ganglia. If you're behind a firewall and the URL appears as the firewall's, you should use that. For instance, my webserver is gyrfalcon, but through NAT with IPTables, my url appears as eyrie.mydomain.edu, and so I use that URL forauthority.trusted_hosts- If your webserver has multiple domain names, they should all be listed here. Otherwise, this can remain empty.
Optional Changes
gridname- If you don't like having the overall wrapper named "Grid", you can change it to something else.rrd_rootdir- Ganglia needs to store a lot of data for RRD. If you want this stored some place other than/var/lib/ganglia/rrds, change this value.
Restarting Ganglia
After any changes, gmetad will need to be restarted. Do this with
/etc/init.d/gmetad restart
Configuring Gmon
The host running gmetad is probably also running gmon, if you want to monitor this host. It will need to be configured as a client node also.

