From: <Ric...@ba...> - 2006-07-14 10:29:05
|
Arun, =20 as an example, run "nc localhost 8651" on your ganglia server. That is the grid level raw data that could be used for snapshot processing. =20 If you netcatted directly to a cluster member (or headnode if you unicast), then that provides current values for the cluster. =20 So even though a C API does not exist as such, you could pretty easily make a wrapper that connects to the right host/port and slurps the data in. =20 - richard =09-----Original Message----- =09From: gan...@li... [mailto:gan...@li...] On Behalf Of Arun Babu =09Sent: 13 July 2006 05:47 =09To: gan...@li... =09Subject: [Ganglia-developers] api for data gathering using ganglia =09 =09 =09Hi =09 We have ganglia installed in our cluster and used for monitoring. =09 I can see the graphs listing the load on cpu of diffrent nodes, average load, etc..=20 =09 I need to get the cpu load at an instant using an api, preferably in C.=20 =09 Is there an interface available? =09 =09Thank you, =09Arun =09 =09 ------------------------------------------------------------------------ For more information about Barclays Capital, please visit our web site at= =20http://www.barcap.com. Internet communications are not secure and therefore the Barclays Group d= oes not accept legal responsibility for the contents of this message. Al= though the Barclays Group operates anti-virus programmes, it does not acc= ept responsibility for any damage whatsoever that is caused by viruses be= ing passed. Any views or opinions presented are solely those of the auth= or and do not necessarily represent those of the Barclays Group. Replies= =20to this email may be monitored by the Barclays Group for operational o= r business reasons. ------------------------------------------------------------------------ |