<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; color: rgb(0, 0, 0); font-size: 14px; font-family: Calibri, sans-serif; "><div>Resending, as I've not seen any response as of yet, and figured that some folks may have come back online after I sent the original message.</div><div><br></div><div>If nothing else, simple yes/no to the question in the Subject: would be helpful.</div><div><br></div><div>Thanks much,</div><div><br></div><div>Matt Pietrek</div><div><br></div><span id="OLK_SRC_BODY_SECTION"><div style="font-family:Calibri; font-size:11pt; text-align:left; color:black; BORDER-BOTTOM: medium none; BORDER-LEFT: medium none; PADDING-BOTTOM: 0in; PADDING-LEFT: 0in; PADDING-RIGHT: 0in; BORDER-TOP: #b5c4df 1pt solid; BORDER-RIGHT: medium none; PADDING-TOP: 3pt"><span style="font-weight:bold">From: </span> Matt Pietrek <<a href="mailto:mpietrek@skytap.com">mpietrek@skytap.com</a>><br><span style="font-weight:bold">Date: </span> Mon, 02 Jan 2012 11:49:28 -0800<br><span style="font-weight:bold">To: </span> "<a href="mailto:rabbitmq-discuss@lists.rabbitmq.com">rabbitmq-discuss@lists.rabbitmq.com</a>" <<a href="mailto:rabbitmq-discuss@lists.rabbitmq.com">rabbitmq-discuss@lists.rabbitmq.com</a>><br><span style="font-weight:bold">Cc: </span> Matt Pietrek <<a href="mailto:mpietrek@skytap.com">mpietrek@skytap.com</a>><br><span style="font-weight:bold">Subject: </span> slave_pids and synchronised_slave_pids not available from the HTTP api?<br></div><div><br></div><div><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; color: rgb(0, 0, 0); font-size: 14px; "><div><div><font class="Apple-style-span" face="Consolas" style="font-family: Calibri, sans-serif; "><div>I'm crafting some custom tooling that needs to know about the sync status of mirrored queues. Up to this point I've been successfully using the HTTP API via the rabbitmqadmin module and been able to get everything I need . However, I'm stymied on slave_pids and synchronised_slave_pids, which don't seem to come through.</div><div><br></div><div>Per the rabbitmqctl cmd-line help, slave_pid and synchronised_slave_pids are valid queueinfoitems. Up to this point, queueinfoitem names have worked equally well with "rabbitmqadmin list queues"</div><div><br></div><div>I've simplified the repro case down to the following; Rabbitmqctl displays these fields as expected:</div></font><font class="Apple-style-span" face="Consolas" style="font-family: Calibri, sans-serif; "><div><br></div><div><span style="font-family: Consolas; ">mpietrek@play:~/work/$rabbitmqctl list_queues consumers messages name slave_pids synchronised_slave_pids</span></div><div><span style="font-family: Consolas; ">Listing queues ...</span></div><div><span style="font-family: Consolas; ">0</span><span class="Apple-tab-span" style="white-space: pre; font-family: Consolas; ">        </span><span style="font-family: Consolas; ">0</span><span class="Apple-tab-span" style="white-space: pre; font-family: Consolas; ">        </span><span style="font-family: Consolas; ">fake_munger_queue</span><span class="Apple-tab-span" style="white-space: pre; font-family: Consolas; ">        </span><span style="font-family: Consolas; ">[<<a href="mailto:rabbit@play2.1.248.0">rabbit@play2.1.248.0</a>>]</span><span class="Apple-tab-span" style="white-space: pre; font-family: Consolas; ">        </span><span style="font-family: Consolas; ">[<<a href="mailto:rabbit@play2.1.248.0">rabbit@play2.1.248.0</a>>]</span></div><div><span style="font-family: Consolas; ">0</span><span class="Apple-tab-span" style="white-space: pre; font-family: Consolas; ">        </span><span style="font-family: Consolas; ">0</span><span class="Apple-tab-span" style="white-space: pre; font-family: Consolas; ">        </span><span style="font-family: Consolas; ">fake_service_2</span><span class="Apple-tab-span" style="white-space: pre; font-family: Consolas; ">        </span><span style="font-family: Consolas; ">[<<a href="mailto:rabbit@play2.1.250.0">rabbit@play2.1.250.0</a>>]</span><span class="Apple-tab-span" style="white-space: pre; font-family: Consolas; ">        </span><span style="font-family: Consolas; ">[<<a href="mailto:rabbit@play2.1.250.0">rabbit@play2.1.250.0</a>>]</span></div></font><span class="Apple-style-span" style="font-family: Consolas; ">...done.</span><font class="Apple-style-span" face="Consolas" style="font-family: Calibri, sans-serif; "><div><span style="font-family: Consolas; "><br></span></div><div><span style="font-family: Consolas; "><br></span></div><div><span style="font-family: Consolas; ">However, rabbitmqadmin doesn't:</span></div><div><span style="font-family: Consolas; "><br></span></div><div><span style="font-family: Consolas; ">mpietrek@play:~/work/$rabbitmqadmin.py list queues consumers messages name slave_pids synchronised_slave_pids</span></div><div><span style="font-family: Consolas; ">+-----------+----------+----------------------+------------+-------------------------+</span></div><div><span style="font-family: Consolas; ">| consumers | messages | name | slave_pids | synchronised_slave_pids |</span></div><div><span style="font-family: Consolas; ">+-----------+----------+----------------------+------------+-------------------------+</span></div></font><span class="Apple-style-span" style="font-family: Consolas; ">| 0 | 0 | fake_munger_queue | | |</span><font class="Apple-style-span" face="Consolas" style="font-family: Calibri, sans-serif; "><div><span style="font-family: Consolas; ">| 0 | 0 | fake_service_2 | | |</span></div><div><span style="font-family: Consolas; ">+-----------+----------+----------------------+------------+-------------------------+</span></div><div><br></div></font></div></div><div style="font-family: Calibri, sans-serif; ">Is this normal/expected? Am I not understanding something?</div><div style="font-family: Calibri, sans-serif; "><br></div><div style="font-family: Calibri, sans-serif; ">FWIW, this is using RabbitMQ 2.71 on Ubuntu 10.04.</div><div style="font-family: Calibri, sans-serif; "><br></div><div style="font-family: Calibri, sans-serif; ">Thanks,</div><div style="font-family: Calibri, sans-serif; "><br></div><div style="font-family: Calibri, sans-serif; ">Matt</div></div></div></span></body></html>