Gmond # Check whether the Gmond service is running. Run the following command: ps aux | grep gmond.
Output:
Root 8046 0.0 0.0 103244 844 pts/0 S + grep gmond
Nobody 25759 1.8 1.0 206388? Ssl Apr28 208:45/usr/local/sbin/gmond -- conf =/etc/ganglia/gmond. conf
# Stop the Gmond service and start the service in Debug mode
/Etc/init. d/gmond stop
/Usr/sbin/gmond-d 2
Then look for errors close to the top
# Try to use netcat (Network View tool) to read XML data from the gmond daemon
Nc & lt; hostname & gt; 8649
# Check whether the UDP connection is established between gmetad and gmond (or in multicast mode, gmond and other gmond). You can run the following command on the problematic machine:
Nc-u-l 8653
Then run the following command on gmetad or another gmond Server:
Echo "hello" | NCS-u
# Use/usr/bin/gstat-a to check gmond data (gstat-a try)
Gmetad # Check whether the Gmetad service is running. Run the following command: ps aux | grep gmetad.
# Check System error logs
Tail/var/log/messages
# Stop the gmetad service and run gmetad in debug mode
/Etc/init. d/gmetad stop
/Usr/sbin/gmetad-d 2
Then look for errors close to the top
# Make sure that "nobody" (Ganglia user In Debian/Ubuntu) is the owner of the "/var/lib/ganglia" directory and all subdirectories, and has write permission.
# Use netcat to read XML data from the gmetad daemon
Nc & lt; hostname & gt; 8650
This information is very useful for submitting error reports.
Web # monitoring Web error logs. PHP errors will appear here:
Tail-f/var/log/apache2/error_log
# Make sure that the configuration of conf. php is correct. If you install it from the source code, you should not only copy the web/directory, but also rename the conf. php. in And version. php. in files. Some variables in the file need to be set. Run "make-C web conf. php version. php" or manually modify these variables (there are only two places with the @ symbol ).
From: http://sourceforge.net/apps/trac/ganglia/wiki/FAQ