Java Applications and Servers

ActiveMQ_Watch

Description:

Apache ActiveMQ current messages monitoringscript

Current Version

Last Release Date

February 4, 2010

Compatible With


Project Files
Project Notes
This is a script I've coded in Perl to check all queues of an Apache ActiveMQ service. It uses the webinterface to get the XML data, so I'd recommend you restrict the access to the webinterface to localhost only, and use the script in combination with NRPE. The command takes the following parameters: -w = warninglevel (ex. -w 10; warn when messages in queue rise above 10) -c = criticallevel (ex. -c 20; turn status in critical when messages in queue rise above 20) -q = select queue (ex. -q nagiosTestQueue; output only the messages in the selected queue, default is all queues) Variables that should be defined in the script: $address = default is localhost (highly recommended!) $port = default is 8161 because my Jetty runs there. Tested with Nagios 3.x, can't think of a reason why it shouldn't work with Nagios 2.x Feedback and suggestions are higly welcomed!
Reviews (2) Add a Review
Problem with GET element
by Zach, September 30, 2013

Error ***Cannot get XML file***. Anyone knows how to fix this error ? even though able to get xml from URL.



Praise worthy!
by brothersir, May 31, 2012

I made an account out of appreciation. This nagios check to monitor queue depth in ActiveMQ is pure win.



Add a Review

You must be logged in to submit a review.

Thank you for your review!

Your review has been submitted and is pending approval.

Recommend

To:


From:


Thank you for your recommendation!

Your recommendation has been sent.

Project Stats
Rating
4.5 (2)
Favorites
0
Views
181,857