You can check check_ganglia_metric written in Python

https://github.com/mconigliaro/check_ganglia_metric

for example how you can parse the XML.

Alternatively, Ganglia Web 3.3.0+ include Nagios integration which does what you are looking for e.g.

   Check multiple metrics on a range of hosts defined with a regular
   expression

   Use this check to check a single or multiple metrics on a range of
   hosts defined using a regular expression. This is useful when you want to 
get a
   single alert if particular metric is critical across a number of hosts.


http://sourceforge.net/apps/trac/ganglia/wiki/ganglia_nagios_integration

Vladimir

On Thu, 10 May 2012, Joe Borġ wrote:

As far as I'm aware, ganglia outputs its data as XML that the web page then 
picks up and processes.  What I'm
trying to do is write some python that looks at every node in a cluster group 
and alerts if any of the metrics are
over a threshold (easy enough) if I can get hold of ganglia's output.

Can anyone point me in this direction please?


Regards,
Joseph David Borġ
http://www.jdborg.com

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Ganglia-general mailing list
Ganglia-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ganglia-general

Reply via email to