I really wish ActiveMQ had integrated support for jolokia :) On Thu, Jul 23, 2015 at 9:24 PM, Tim Bain <tb...@alumni.duke.edu> wrote:
> That frequency will be much better. > > And I think the RESTful API is supposed to be faster if you're doing > queries in bulk, because JMX isn't bad within the JVM, it's just slow when > you have to use RPC across a network. But I haven't done it myself, so I > can't comment on it first-hand. > > Tim > > On Thu, Jul 23, 2015 at 10:11 PM, James A. Robinson <j...@highwire.org> > wrote: > > > I was thinking more like every five minutes. Is it equally expensive to > > query via the restful api? > > On Thu, Jul 23, 2015 at 21:07 Tim Bain <tb...@alumni.duke.edu> wrote: > > > > > Keep in mind that remote JMX calls are pretty expensive even on a local > > > network, so you'll have to either not monitor all that much stuff or > not > > > retrieve values super often. As with everything related to > performance, > > > YMMV so plan to measure how much throughput you can actually do, but > > don't > > > expect to get all stats for all destinations and clients every 100ms. > > > On Jul 23, 2015 1:52 PM, "James A. Robinson" <j...@highwire.org> > wrote: > > > > > > > Thank you. I'll explore using nagios check_jmx to query the activemq > > > > MBeans. > > > > > > > > Jim > > > > > > > > > > > > On Thu, Jul 23, 2015 at 11:48 AM Tim Bain <tb...@alumni.duke.edu> > > wrote: > > > > > > > > > I've used primitive log-monitoring tools such as Swatch to notify > us > > > when > > > > > producer flow control kicked in or when a consumer became slow and > > was > > > > > aborted, because those were both situations we were concerned > about. > > > > I've > > > > > also written Java code to interrogate the JMX stats for specific > > > > > destinations and log them regularly, so I could do forensics later > > > about > > > > > what backed up and hopefully figure out why. > > > > > > > > > > Tim > > > > > > > > > > On Thu, Jul 23, 2015 at 11:39 AM, James A. Robinson < > > j...@highwire.org > > > > > > > > > wrote: > > > > > > > > > > > What tools do you folks find to be effective for monitoring the > > > health > > > > of > > > > > > your brokers? > > > > > > > > > > > > I see several nagios plugins do things like check queue depth. I > > > also > > > > > note > > > > > > that most of the plugins I see have no concept of monitoring a > > > failover > > > > > > capable cluster. > > > > > > > > > > > > Jim > > > > > > > > > > > > > > > > > > > > > -- Founder/CEO Spinn3r.com Location: *San Francisco, CA* blog: http://burtonator.wordpress.com … or check out my Google+ profile <https://plus.google.com/102718274791889610666/posts>