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.

-ben

-- 
Ben Hartshorne
email: [EMAIL PROTECTED]
http://ben.hartshorne.net

Attachment: signature.asc
Description: Digital signature

-------------------------------------------------------------------------
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

Reply via email to