On 05/26/2015 03:29 PM, Matt Broadstone wrote:
On Tue, May 26, 2015 at 10:07 AM, Gordon Sim <[email protected]> wrote:
On 05/25/2015 07:03 PM, Matt Broadstone wrote:
Hi All,
When trying to run qpid-queue-stats against my local qpidd instance, I'm
not seeing any statistics being reported.
How long are you waiting?
I've left the current run of it open for about five minutes so far.
I'm using the default qpidd
configuration (mgmt-enable and mgmt-qmf2 are enabled), and can verify that
the tool is able to connect to the broker and authenticate appropriately.
I
also haven't touched the default ACLs shipped with qpidd.
Also these seem to work just fine:
* qpid-config -b user/password@localhost queues
* qpid-stat -b user/password@localhost -q
Is there something else I'm missing here?
Rather than providing a single snapshot, the qpid-queue-stats tool will
periodically print out the computed rates for any queues on which there is
activity. I think its about 10 seconds between iterations, so you won't see
anything for up to 10 secs after starting (apart from the column headers),
but you should see something after that if there are any messages going
through the broker.
That was my understanding, but running it for extended periods of time has
resulted in no output whatsoever. Perhaps there isn't any relevant traffic?
Will it print out information even for idle queues?
No, I don't believe it does. However usually at the very least there
would be the qmf related queue used by the tool itself, so no output at
all does suggest something may be wrong. Are there any errors or
warnings in the broker logs? What versions are you running?
Can you start a broker with --log-enable trace+ and then run
qpid-queue-stats against it for a minute or so and see what shows up in
the broker trace?
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]