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_mq

Rating
1 vote
Favoured:
0
Hits
103626
Files:
FileDescription
check_mq.zipcheck_mq perl script
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!
Checks queue depth of an IBM WebSphere MQSeries queue.
This small and simple perl script checks the depth of an IBM MQSeries queue and checks it agains a warning and critical number. To be used as a plugin for Nagios. Requires the MQSeries module (see CPAN, H/HB/HBIERSMA/MQSeries-1.23.tar.gz is the one I use at the moment) and of course any prerequisites this module has (one of them being a working MQSeries client or server installation on your Nagios server).

Example command line :
check_mq -H 'SERVER(1414)' -m QMGR -a CHANNEL -q QUEUE -w 10 -c 20

Note the IBM MQSeries manner of denoting the Server and Queuemanager port (default port is for IBM MQSeries is 1414). Suggestions welcome via the comments option here.

This plugin returns performance data of course.
Reviews (1)
byjuanj20, May 27, 2014
when trying to make the query shows me the following

./check_mq -H x.x.x.x -m QMGR -a CHANNEL -q QUEUE -w 10 -c 20

"Unable to connect to queuemanager"

I'll have to be set some user?