Retrieves system information (OS version, available memory, etc.) from a listening Ganglia Monitoring Daemon or Ganglia Meta Daemon.
Ganglia is a scalable distributed monitoring system for high-performance computing systems such as clusters and Grids. The information retrieved includes HDD size, available memory, OS version, architecture (and more) from each of the systems in each of the clusters in the grid.
For more information about Ganglia, see:
Set the number of bytes to retrieve. The default value is 1000000. This should be enough for a grid of more than 100 hosts. About 5KB-10KB of data is returned for each host in the cluster.
Set the timeout in seconds. The default value is 60. This should be enough for a grid of more than 100 hosts at 200Kb/s. About 5KB-10KB of data is returned for each host in the cluster.
unittest.runSee the documentation for the unittest library.
nmap --script ganglia-info --script-args ganglia-info.timeout=60,ganglia-info.bytes=1000000 -p <port> <target>
PORT STATE SERVICE VERSION 8649/tcp open ganglia Ganglia XML Grid monitor 2.5.7 (Cluster name: unspecified; Owner: unspecified; Source: gmond) | ganglia-info: | Service: Ganglia Monitoring Daemon | Version: 2.5.7 | Cluster Name: unspecified | Owner: unspecified | Hostname: localhost | IP: 127.0.0.1 | cpu nice: 0.0% | cpu user: 2.0% | proc total: 182 | proc run: 0 | load fifteen: 0.13 | pkts in: 0.12packets/sec | swap total: 9928700KB | load five: 0.15 | machine type: x86_64 | disk total: 236.111GB | mem buffers: 33148KB | mem total: 3845028KB | bytes in: 6.57bytes/sec | load one: 0.22 | sys clock: 1317692483s | mem free: 3280956KB | mtu: 1280B | mem shared: 0KB | cpu aidle: 97.0% | cpu idle: 99.1% | cpu speed: 2266MHz | mem cached: 271924KB | cpu num: 4 | part max used: 55.9% | bytes out: 5.48bytes/sec | os release: 2.6.34 | gexec: OFF | disk free: 104.075GB | cpu system: 0.1% | boottime: 1317692167s | swap free: 9928700KB | os name: Linux |_ pkts out: 0.06packets/sec
Author: Brendan Coles
License: Same as Nmap--See http://nmap.org/book/man-legal.html