paul- there is no gmetric lib right now (but there should be.. my bad). the truth is that ganglia will use Dynamic Shareable Objects (DSO) in the near future which will allow you to plug in modules directly into gmond. that's the right way to do it... it allows gmond to highly optimize the network packets and gives ganglia admins unrestricted flexibility. you're right .. the forks, context switches, et al are a problem if you want to monitor 50+ custom metrics beyond the metric gmond already measures.
sorry i didn't give you a solution.. but maybe .. a little hope? that your problem will be fixed soon. -matt Thursday, Paul Wickman wrote forth saying... > > Is there any effort going on to develop a library version of the gmetric > command? I've got a ton of statistics (~ 50) that I want to push out > through gmetric. As it is now, I have to run gmetric 50 seperate times, > which is enormously resource intensive (forks, context switches, intrpts, > etc.). It would be great if I could just hook my monitoring code right > into gmetric/gmon. > > Thanks > > > _______________________________________________________________ > > Don't miss the 2002 Sprint PCS Application Developer's Conference > August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm > > _______________________________________________ > Ganglia-general mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/ganglia-general >

