Home page logo
/

nmap-dev logo Nmap Development mailing list archives

ganglia-gmond-info.nse
From: Brendan Coles <bcoles () gmail com>
Date: Thu, 9 Jun 2011 15:49:49 +1000

Hi nmap-dev,

Attached is ganglia-gmond-info.nse which is designed to retrieve system
information from a Ganglia Monitoring Daemon, as per the script ideas page
on secwiki.org

It's pretty verbose (returns all stats for all hosts).

Feedback is welcomed and appreciated.

description = [[
Retrieves system information from a listening Ganglia Monitoring 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 the cluster.

For more information about the Ganglia Monitoring Daemon, see:
http://ganglia.sourceforge.net/
http://en.wikipedia.org/wiki/Ganglia_(software)#Ganglia_Monitoring_Daemon_.28gmond.29
]]

---
-- @usage
-- nmap --script ganglia-gmond-info --script-args
ganglia-gmond-info.timeout=30,ganglia-gmond-info.bytes=200000 -p 8649
<target>
--
-- @args ganglia-gmond-info.timeout
--           Set timeout in seconds. The default value is 30.
--           About ~4KB of data is returned for each host in the cluster.
--           Retrieving data from a cluster of 25 hosts (~100KB) takes ~8s @
100Kb/s
-- @args ganglia-gmond-info.bytes
--           Set the number of bytes to retrieve. The default value is
200000.
--           About ~4KB of data is returned for each host in the cluster.
--           200,000 bytes should be enough for 50 hosts.
--
-- @output
-- PORT     STATE SERVICE REASON  VERSION
-- 8649/tcp open  ganglia syn-ack Ganglia XML Grid monitor 3.0.7 (Cluster
name: Fyodor's Cluster; Owner: Fyodor; Source: gmond)
-- | ganglia-gmond-info:
-- |   Version: 3.0.7
-- |   Cluster:
-- |       Name: Fyodor's Cluster
-- |       Owner: Fyodor
-- |   Host [Name: ganglia.example.com; IP: 192.168.1.1]
-- |       disk total: 482.853GB
-- |       cpu speed: 2133MHz
-- |       part max used: 74.7%
-- |       swap total: 2097144KB
-- |       os name: Linux
-- |       cpu user: 3.4%
-- |       cpu system: 0.4%
-- |       cpu aidle: 95.2%
-- |       load five: 0.13
-- |       proc run: 0
-- |       mem free: 714040KB
-- |       mem buffers: 262100KB
-- |       swap free: 2097144KB
-- |       bytes in: 2332.70bytes/sec
-- |       pkts out: 2.70packets/sec
-- |       cpu num: 2CPUs
-- |       disk free: 188.861GB
-- |       mem total: 3114872KB
-- |       cpu wio: 0.1%
-- |       boottime: 1307115184s
-- |       machine type: x86
-- |       os release: 2.6.18-238.9.1.el5
-- |       cpu nice: 0.0%
-- |       cpu idle: 96.1%
-- |       load one: 0.04
-- |       load fifteen: 0.14
-- |       proc total: 245
-- |       mem shared: 0KB
-- |       mem cached: 1260100KB
-- |       gexec: OFF
-- |       bytes out: 640.10bytes/sec
-- |_     pkts in: 12.90packets/sec


Regards,

Brendan Coles
http://itsecuritysolutions.org

Attachment: ganglia-gmond-info.nse
Description:

_______________________________________________
Sent through the nmap-dev mailing list
http://cgi.insecure.org/mailman/listinfo/nmap-dev
Archived at http://seclists.org/nmap-dev/

  By Date           By Thread  

Current thread:
  • ganglia-gmond-info.nse Brendan Coles (Jun 09)
[ Nmap | Sec Tools | Mailing Lists | Site News | About/Contact | Advertising | Privacy ]