Re: [Ganglia-developers] gmetad protocol and propagating errors back to the client

2009-01-23 Thread Spike Spiegel
On Thu, Jan 22, 2009 at 6:55 PM, Carlo Marcelo Arenas Belon care...@sajinet.com.pe wrote: the interactive port was designed to mimic the behaviour from the original gmetad port which always returns the whole tree. why's that? if I wanted the whole tree I'd query the non interactive port,

Re: [Ganglia-developers] gmetad protocol and propagating errors back to the client

2009-01-22 Thread Carlo Marcelo Arenas Belon
On Thu, Jan 22, 2009 at 12:24:56PM +0800, Spike Spiegel wrote: right now when gmetad fails an error is logged and in some cases the connection to the client interrupted returning invalid XML or in other cases (item not found or broken request) the entire tree is returned. gmetad (before

[Ganglia-developers] gmetad protocol and propagating errors back to the client

2009-01-21 Thread Spike Spiegel
Hi, right now when gmetad fails an error is logged and in some cases the connection to the client interrupted returning invalid XML or in other cases (item not found or broken request) the entire tree is returned. This imho is bad behavior and code should be added to inform the client of the