Opened 15 years ago

Closed 15 years ago

Last modified 14 years ago

#23 closed enhancement (fixed)

implement native gmetric support

Reported by: bastiaans Owned by: bastiaans
Priority: major Milestone: 0.3
Component: jobmond Version:
Keywords: Cc:
Estimated Number of Hours:

Description

Nick Galbreath created a 100% python native gmetric module:

http://code.google.com/p/embeddedgmetric/wiki/GmetricPython

It does not require a C module, swig, nothing.

Hi Ramon,

correct, the python code is one file and "does it all" without any dependencies.  No C, No Swig, No non-standard modules.

Take a peek
http://embeddedgmetric.googlecode.com/svn/trunk/python/gmetric.py
that's really all it is.



The main difference between my code and the official gmetric is that my code only will send metrics to  ONE mutlicast or  ONE udp port.  official gmetric reads in the gmond.conf file and can send metrics to multiple ports with multiple protocols at once.  But I think 99% of the ganglia installs just sends data to 1 port.


Feel free to package it up however you like.  Its the MIT license, which just says "Don't sue me if it blows up, and preserve the copyright notice"   If you need a different license let me know ( but MIT has is least restrictive).

have fun!

--nickg

Need to implement this ASAP, as I think this will speed up jobmond quite a bit and make it more flexible.

Change History (4)

comment:1 Changed 15 years ago by bastiaans

  • Milestone set to 0.2.1
  • Owner changed from somebody to bastiaans
  • Priority changed from normal to major
  • Status changed from new to assigned

comment:2 Changed 15 years ago by bastiaans

implemented in changeset r353 and has already shown to be a great performance increase

comment:3 Changed 15 years ago by bastiaans

  • Resolution set to fixed
  • Status changed from assigned to closed
Note: See TracTickets for help on using tickets.