Build precise queries to find exactly what you need
Press ESC to close
Your review has been submitted and is pending approval.
ActiveMQ monitoring script.
Current Version
Last Release Date
June 18, 2009
Owner
Nagios Exchange
Website
http://it.toolbox.com/blogs/unix-sysadmin/monitoring-activemq-from-nagios-27743
It's a little Perl script to be used as a Nagios plugin to monitor whether ActiveMQ is working properly or not. I've used Net::Stomp module from the CPAN archive adding some output interpretation. The foreach loop is a substitute for Java failover://(tcp://mybroker1:61616,tcp://mybroker2:61616)?randomize=false. It's not perfect, but it's good enough. Maybe someone will find it useful.
Configuration variables: @hosts - list of ActiveMQ brokers to be check in order of preference, $login and $pass - login credentials, $queue - test queue name.
Tested with Nagios 2.x, should work with 3.x as well.
You must be logged in to submit a review.
To:
From: