Ganglia Gmetric repository


Quick Links



This is my collection of metric collection tools to be used with GangliaGanglia is a scalable distributed monitoring system for high-performance computing systems such as clusters and Grids. It is based on a hierarchical design targeted at federations of clusters. This is not to say that same scripts cannot be used with other monitoring tools you just need to modify the script to do so.

1. NFS server/client stats

Purpose: This script will collect NFSd server and/or NFS client stats on the host running the service.
OS: Linux only

Sample NFSd server access

Please download the script ganglia_nfs_stats.pl and install it on a machine running NFSd. Then do following

2. Local Disk Stats

Purpose: This script will collect local disk stats on the host running the service.
OS: Linux only

Example Disk Stats

Please download the script ganglia_disk_stats.pl and install it. Then do following

3. mySQL server stats

Purpose: This script will collect mySQL server stats as reported by extended-status
OS: Cross platform - any platform that has perl support including Windows (cygwin recommended for Windows)

mysqladmin will report extended-status statistics such as these.  Explanation of all metrics can be found at

http://dev.mysql.com/doc/refman/5.0/en/server-status-variables.html

| Threads_cached                    | 0          |
| Threads_connected | 5 |
| Threads_created | 14706 |
| Threads_running | 1 |

Unfortunately that doesn't tell us much unless we can graph it. After you run the script you get these pretty graphs :-)

Example mySQL queries

Please download the script ganglia_mysql_stats.pl and install it. Then do following

Author: Vladimir Vuksan
Page Last Change: $Date$

Go back