On Sat, May 7, 2011 at 10:50 AM, Adam Stokes adam.stokes@gmail.com wrote:
Have you been able to access the agent methods from the event raised? Ive been trying to figure out how to do it without going through the query
Nope. I haven't done anything more than getting a connection up to the broker, and printing a message when an agent comes and goes, and when an event is received. It's not doing any filtering, either. I used it to see events coming back from a status change after using the status method on the Services agent and that seemed to work. I'll keep playing around with it later, though, and let you know if I learn anything I think you might find helpful.
For reference, here is a more live link to the code than the original list post:
https://github.com/russellb/matahari/blob/pyeventmon/src/utils/qmfeventmon.p...
-- Russell Bryant