qpid-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Carl Trieloff <cctriel...@redhat.com>
Subject Re: use qmf to build a cluster monitoring system
Date Thu, 08 Oct 2009 15:27:35 GMT


yes, they are all cross compat. The C++ examples are in the example 
dirs, look for
qmf-*  there is a console and agent example.

Here is a example of a basic system agent written in C++ with QMF.
http://anonsvn.jboss.org/repos/rhmessaging/mgmt/trunk/sesame/cpp

There is a virt qmf agent at libvirt.org

Believe Ted has an example system agent in python for procfs and dbus, 
I'll ping
him and see if he can post that for you to use/ rip off or contribute to.

Carl.


Ming Zhang wrote:
> will be great if you or someone could put these doc on wiki.
>
> i can read c++ no problem. but after trying python, i think it is  a
> better one...
>
> again, a c++ agent example should be able to consumed by python
> console in a general way right? that is the whole point of amqp... ;)
>
> Ming
>
>
>
> On Thu, Oct 8, 2009 at 10:35 AM, Carl Trieloff <cctrieloff@redhat.com> wrote:
>   
>> :-)  yea more doc need to be put up on the wiki...
>>
>> I have a full C++ example (I'm not a python guy) so I want to make sure I
>> send you the right thing
>> for a python console application.
>>
>>
>> Ming Zhang wrote:
>>     
>>> i read both of them. also followed the example step by step. this is
>>> why i thought it should perfectly fit my needs.
>>>
>>> the second one still lack "Discovering what Kinds of Objects are
>>> Available",
>>> the first one has nothing under "How to Write a QMF Agent".
>>>
>>> these are as if i watched half part of the movie from netflix and then
>>> verizone cut my fios...
>>>
>>>
>>> Ming
>>>
>>> On Thu, Oct 8, 2009 at 10:01 AM, Carl Trieloff <cctrieloff@redhat.com>
>>> wrote:
>>>
>>>       
>>>> That is a great use case for QMF, have you looked at these two pages on
>>>> QMF.
>>>>
>>>> http://qpid.apache.org/qpid-management-framework.html
>>>>
>>>> http://qpid.apache.org/qmf-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 need to have
>>>>> extra agent. and no messaging mechanism.
>>>>>
>>>>> so once i saw couple line of python can pass message reliably around,
>>>>> i think this is a good bet. this is what ganglia lack.
>>>>>
>>>>> i read the online doc about how to use python as qmg console, but
>>>>> would like to know more about how to write a qmf xml, generate agent,
>>>>> let agent push data periodically. and allow console to get these data
>>>>> asynchronously.
>>>>>
>>>>> thanks,
>>>>>
>>>>> Ming
>>>>>
>>>>>
>>>>> On Thu, Oct 8, 2009 at 7:59 AM, Carl Trieloff <cctrieloff@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 about QMF online.
>>>>>>>
>>>>>>> Thanks!
>>>>>>>
>>>>>>> Ming
>>>>>>>
>>>>>>> ---------------------------------------------------------------------
>>>>>>> Apache Qpid - AMQP Messaging Implementation
>>>>>>> Project:      http://qpid.apache.org
>>>>>>> Use/Interact: mailto:users-subscribe@qpid.apache.org
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>               
>>>>>> ---------------------------------------------------------------------
>>>>>> Apache Qpid - AMQP Messaging Implementation
>>>>>> Project:      http://qpid.apache.org
>>>>>> Use/Interact: mailto:users-subscribe@qpid.apache.org
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>             
>>>>         
>>     


---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:users-subscribe@qpid.apache.org


Mime
View raw message