Search Exchange

Search All Sites

Nagios Live Webinars

Let our experts show you how Nagios can help your organization.

Contact Us

Phone: 1-888-NAGIOS-1
Email: sales@nagios.com

Login

Remember Me

Directory Tree

check_activemq

Rating
0 votes
Favoured:
0
Hits
107761
Files:
FileDescription
check_activemq.plActiveMQ message delivery check.
Nagios CSP

Meet The New Nagios Core Services Platform

Built on over 25 years of monitoring experience, the Nagios Core Services Platform provides insightful monitoring dashboards, time-saving monitoring wizards, and unmatched ease of use. Use it for free indefinitely.

Monitoring Made Magically Better

  • Nagios Core on Overdrive
  • Powerful Monitoring Dashboards
  • Time-Saving Configuration Wizards
  • Open Source Powered Monitoring On Steroids
  • And So Much More!
ActiveMQ monitoring script.
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.