<div><div><span><div><div><div>
            <div>
                <span>Here's a quick peek at two responses to the /api/overview call. Same server software version.&nbsp;</span></div><div><span>#############################</span></div><div><span><div>{</div><div>"management_version":"2.4.1",</div><div>"statistics_level":"fine",</div><div><br></div><div>"message_stats":{"publish":2445210,"publish_details":{"rate":4.593489204928332,"last_event":1307046917111},"ack":31,"ack_details":{"rate":0,"last_event":1306966493190},"deliver":57,"deliver_details":{"rate":0,"last_event":1306966493190},"deliver_get":6228204,"deliver_get_details":{"rate":4.593484491297741,"last_event":1307046917111},"deliver_no_ack":6228147,"deliver_no_ack_details":{"rate":4.593484491297741,"last_event":1307046917111}},</div><div><br></div><div>"queue_totals":{"messages":44,"messages_ready":18,"messages_unacknowledged":26}</div><div>}</div><div>################################</div><div><div>{</div><div>"management_version":"2.4.1",</div><div>"statistics_level":"fine",</div><div><br></div><div>"message_stats":{"publish":11340,"publish_details":{"rate":0,"last_event":1307041432286},"ack":401,"ack_details":{"rate":0,"last_event":1307039730923},"deliver":401,"deliver_details":{"rate":0,"last_event":1307039730923},"deliver_get":215791,"deliver_get_details":{"rate":0,"last_event":1307041433196},"deliver_no_ack":215390,"deliver_no_ack_details":{"rate":0,"last_event":1307041433196}},</div><div><br></div><div>"queue_totals":{"messages":0,"messages_ready":0,"messages_unacknowledged":0},</div><div>"node":"rabbit@mybox",</div><div>"statistics_db_node":"rabbit@mybox",</div><div>"listeners":[{"node":"rabbit@mybox","protocol":"amqp","host":"mybox.example.com","ip_address":"::","port":5672},{"node":"rabbit@mybox","protocol":"stomp","host":"mybox.example.com","ip_address":"::","port":61613}]</div><div>}</div></div><div>#################################</div><div><br></div><div>As you can see, the second broker has 'node', 'statistics_db_node', and 'listeners', whereas the first broker does not. Just now I noticed we're supporting STOMP on one of the servers, but does that account for all of the differences above? What other JSON responses will be different because of this, and how? What other configuration options affect the JSON responses? How are they affected?</div><div><br></div><div>brian</div><div><br></div><div><br></div></span>
                <span><br>--&nbsp;<br>Brian K. Jones<br>Sent over the internet<div>My blog: <a href="http://www.protocolostomy.com">http://www.protocolostomy.com</a></div><div>Follow me: <a href="http://twitter.com/bkjones">http://twitter.com/bkjones</a></div><br></span>
                
                <p style="color: #a0a0a0;">On Thursday, June 2, 2011 at 4:35 PM, Brian K. Jones wrote:</p><blockquote type="cite"><div>
                    <span><div><div><div>
            <div>
                <span>Hi,&nbsp;</span></div><div><span><br></span></div><div><span>I'm testing a Python module that provides an easy way to work with the RabbitMQ Management HTTP API. I'm testing against various different broker instances, and I'm finding that, although they're the same version, there are apparently circumstances that exist which make the same call return different collections of attributes across different servers. For example, some hosts' 'overview' have a 'listeners' attribute while others don't. For queues, some&nbsp;have a 'node' attribute (iirc), and others don't. I imagine there are more of these situations, and I'm wondering if these conditions are documented anywhere? This would obviously be useful to those writing any code against the API as well, not just module authors (think of the poor ops folks writing nagios checks!). :)&nbsp;</span></div><div><span><br></span></div><div><span>If the expectation is that servers with the same versions of the server and management software return the same exact attributes given the same exact calls, then let me know and I'll document these issues more thoroughly &amp; update this thread (unless there's a public bug tracker?)</span></div><div><span><br></span></div><div><span></span><span>Thanks,&nbsp;</span></div><div><span>brian</span></div><div><span><br></span></div><div><span><br>--&nbsp;<br>Brian K. Jones<br>Sent over the internet<div>My blog: <a href="http://www.protocolostomy.com">http://www.protocolostomy.com</a></div><div>Follow me: <a href="http://twitter.com/bkjones">http://twitter.com/bkjones</a></div><br></span>
            </div>
        </div></div></div></span>
                
                
                
                
                </div></blockquote><div>
                    <br>
                </div>
            </div>
        </div></div></div></span></div></div>