Ben Hartshorne wrote: > On Tue, May 08, 2007 at 06:36:25AM +1000, Ian Holsman wrote: > >> Hi. >> >> I've got a metric (mysql questions) which is stored as the number of >> questions since server start. >> >> how do I feed this into ganglia? >> > > Hi, > > A bunch of people on this list (including me) have written plugins to > handle mysql. I havn't put mine into the general repository yet > (because it was broken for so long) but you can find them at > http://ben.hartshorne.net/ganglia/ > > The long and the short of it is that you keep a state file with a > timestamp and the value of the counter the last time you saw it and > report the difference to ganglia. >
Thanks for the link (which I will be using ;-) and the tip about state files. Was there any discussion beforehand on why ganglia doesn't support the 'COUNTER' type in rrd? it could be passed as an option couldn't it? This would remove the need for state files I would think. --Ian > -ben > > ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Ganglia-general mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/ganglia-general

