Also, please let me know how using the control socket works for you.
IIRC it was added right before the 1.0 release and hasn't seen enough
TLC since.  I'd be interested to know what works/doesn't work well.

-Jason
On 09:53 Wed 24 Jul     , Justin Karneges wrote:
>    Hi Cristi,
>    Best is to use zmq to make control requests. The format is consistent
>    in the underlying protocol. What you're seeing is just the way m2sh
>    displays an empty response.
> 
>    On Wed, Jul 24, 2013 at 4:22 AM, Cristi Mocanu <[1][email protected]>
>    wrote:
> 
>      Hello!
>      I am trying to write a collector for OpenTSDB for Mongrel, and I'm
>      having a few difficulties getting the information I want.
>      First of all, I need to get the number of requests received until a
>      certain time. I noticed that m2sh control doesn't show that
>      information,
>      and I don't know where else to look.
>      Secondly, I noticed that when there is only one connection
>      esablished to
>      Mongrel, the format of the output of "m2sh control status what=net"
>      differs from when there is more than one connection. I'd like to
>      know
>      how I can make the output look the same for any number of
>      connections (
>      I like the output for several connections better ). Here's an
>      example:
>      One connection:
>      id: Â 741
>      fd: Â 26
>      type: Â 1
>      last_ping: Â 0
>      last_read: Â 0
>      last_write: Â 0
>      bytes_read: Â 12577740
>      bytes_written: Â 1108575
>      Several connections:
>      id  fd  type  last_ping  last_read  last_write  bytes_read
>      bytes_written
>      741 Â 26 Â 1 Â 0 Â 0 Â 0 Â 12945708 Â 1140975
>      742 Â 27 Â 1 Â 0 Â 0 Â 0 Â 77811 Â 6750
>      Thank you.
> 
>    --
> 
>    Justin Karneges
> 
>    Fanout, Inc.
> 
>    530-220-7222
> 
> References
> 
>    1. mailto:[email protected]

Reply via email to