Re: use qmf to build a cluster monitoring system

2009-10-12 Thread Ming Zhang
/bindings/qmf/tests/python_agent.py that will get you started.  We will start adding new content to the wiki hopefully this week. -Ted Ming Zhang wrote: would like to build something like ganglia. but this time in python and using qmf or at least qpid. ganglia packets is very inefficient over

qmf protocol

2009-10-12 Thread Ming Zhang
Hi All Read this http://qpid.apache.org/qmf-protocol.html and have a question about it. This message contains a content record. Content records contain the values of all properties or statistics in an object. Such records are broadcast on a periodic interval if 1) a change has been made in the

wireshark dissector

2009-10-12 Thread Ming Zhang
Hi I wonder if there is a wireshark dissector for the qpid messages? Thanks! Ming - Apache Qpid - AMQP Messaging Implementation Project: http://qpid.apache.org Use/Interact: mailto:users-subscr...@qpid.apache.org

Re: qmf protocol

2009-10-12 Thread Ming Zhang
, 2009 at 4:59 PM, Carl Trieloff cctriel...@redhat.com wrote: Ming Zhang wrote: Hi All Read this http://qpid.apache.org/qmf-protocol.html and have a question about it. This message contains a content record. Content records contain the values of all properties or statistics in an object

qpid wan performance

2009-10-12 Thread Ming Zhang
Hi All Wonder where I could find some information about qpid performance under WAN? One major reason we do not want to use ganglia but building something with QMF is that ganglia over WAN sucks. Another question is about the exchange. Let say if two console is in site A but different nodes thus

Re: Management tools install

2009-10-09 Thread Ming Zhang
On Fri, Oct 9, 2009 at 8:42 AM, lroloson lrolo...@trmi.com wrote: I have the CPP broker built from the trunk, and it appears to be working. I cannot get qpid-tool running and installed. I have the python files from the download, I just cannot seem to get it working. I have a machine with the

wonder how to use Session.getObjects()?

2009-10-09 Thread Ming Zhang
Hi All I wonder how to use session getObject? What are those _class, _key means? For example, I ran the qmf-agent example, then run the qmf-console/console, it shows some agents i can play with. Then I use python agents = sess.getObjects(_class=parent, _package=org.apache.qpid.agent.example) I

where i can find python QMF agent example

2009-10-09 Thread Ming Zhang
Hi All I wonder where I could find more QMF examples in python? Especially on how to write an agent? I guess that I need to write a schema.xml. Then run some command (no idea what) to generate some stub. Then I need to write a code to follow certain formats. But such information is not

dynamic expand schema

2009-10-09 Thread Ming Zhang
Hi All If I use QMF schema to describe a host, it is quite possible that I will add cpu statistics today, and memory data tomorrow. this means i have to change the schema from time to time. what is the good practice for this? Do I have to recompile the schema, change the code, and shutdown my

Re: use qmf to build a cluster monitoring system

2009-10-08 Thread Ming Zhang
at 7:59 AM, Carl Trieloff cctriel...@redhat.com wrote: To monitor a Qpid cluster, or another application cluster? Carl. Ming Zhang wrote: Hi All Would like to use QMF and qpid to build a cluster monitoring system. Wonder where is a good starting point? There are only a few information

Re: use qmf to build a cluster monitoring system

2009-10-08 Thread Ming Zhang
-python-console-tutorial.html Also digging up a python console example for you, or hit Ted up from one :-) Carl. Ming Zhang wrote: would like to build something like ganglia. but this time in python and using qmf or at least qpid. ganglia packets is very inefficient over WAN. and nagios