For what it's worth, I wrote a fairly grotesque Nagios external command
formatter for the Ganglia Python module. It runs every couple of
minutes, parses the gmetad output and jams the result into my Nagios
external command file. It also determines metric warning and critical
thresholds, which is where the "grotesque" descriptor comes into play.
Because it runs parallel to gmetad and its rrd library, I haven't really
focused on the data storage possibilities ... but I suppose one could
use the performance metric collecting functionality of Nagios with a
MySQL backend without incurring significant pain and/or suffering. Just
a few scripts to glue it all together, really.
My initial plan was to hack an external command writer onto the gmetad
back-end, running that in parallel with the vanilla gmetad. Then I
sobered up and realized I was going to have to determine notification
thresholds in the parser.
Maybe something like that would make more sense if you were interacting
with a MySQL server.
Or you could write a "gmetad" MySQL storage engine wrapper, but that
would only allow you to query against the grid's current status...
Chris Croswhite wrote:
Steve,
Yep, the possibility exists to do this in python/groovie/perl/etc, just
a mater of the amount of data collected and whether that data will
actually be used.
After thinking about this for a bit and discussions on this mailing
list, I am thinking that if I do push data into a db, it will end up
being just a small sub set of the total data collected. For the most
part, I will probably end up just enhancing ganglia to entend the time
period for some of the rrd's.
Chris
On Thu, 2006-02-23 at 10:41, Steven A. DuChene wrote:
Why not start with the ganglia python client to pull the data out and shove it
into
a database? Or are you all looking at starting with these other peices because
they already run as daemons that pull the data on a regular basis and a
intepreted language based client (python, perl, what not) would be too
ineficient?
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Ganglia-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ganglia-developers
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Ganglia-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ganglia-developers