guys-

i took the time tonight to update the Gmetric message code in order to prevent data corruption and to ensure you get immediate feedback when you try to pack too much data in the message in gmetric.

i only needed to update the following files
./gmetric/gmetric.c
./lib/ganglia.h
./lib/libgmond.c
./lib/protocol.x

i tagged those four files with "preGmetricMessageUpdate" before committing my changes in order to make it easy to back out the changes if necessary. i've only compiled the code on MacOS X Tiger.

can you please review the changes and test them on your favorite OS and give feedback? please feel free to debate the sizes of the following definitions as well...
#define MAX_GMETRIC_XDR_TYPE_LEN 12
#define MAX_GMETRIC_XDR_NAME_LEN 36
#define MAX_GMETRIC_XDR_VALUE_LEN 1396
#define MAX_GMETRIC_XDR_UNITS_LEN 12

in protocol.x. we can take from one to add to the other but the four must add to 1456.

did you hear that clerks 2 is coming out this year? <http:// clerks2.com>.

--
[EMAIL PROTECTED]
  http://massie.us




Reply via email to