On Mon, Aug 11, 2008 at 9:03 AM, lahiru gunathilake <[EMAIL PROTECTED]> wrote:

> Now following commands works like this for me.

[snip]

Cool, I'll give them a spin and let you know how I get on. I'm not
sure about some of the option names but I need to have a bit of a
think first.

> Now I have to start that report generation mode.
> Aidan could you please advice me on how to implement that.

Ok, so, this should be fairly straight forward. There should be a
properties file which is read which defines a report in terms of a
command to run, an output format and the fields to be shown. It should
also specify an interval in which to run the report.

The file would look something like this:

object=queue
column=name,messagecount,activeconsumercount
filter.name=*ping
output=csv
seperator=|
interval=10m

which would print
name,messagecount,activeconsumercount
ping,0,0
ping,0,0
test-ping,0,0
ping,0,0

against a newly started broker very ten minutes if you start qpid-cli like this:
qpid-cli --report <reportfile>

Obviously object could also be exchange, virtualhost etc.

Does that make sense?

- Aidan
-- 
Apache Qpid - World Domination through Advanced Message Queueing
http://cwiki.apache.org/qpid
"Nine-tenths of wisdom consists in being wise in time." - Theodore Roosevelt

Reply via email to