Queue depth monitoring

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
RIDS_I2MP
Posts: 751
Joined: Thu Mar 13, 2014 9:25 am

Re: Queue depth monitoring

Post by RIDS_I2MP »

Hi,

PFB the output:

PRODUCTION> nagios@eu1pmwu050: /usr/local/nagios/libexec > echo "DISPLAY QUEUE(WBIA.EESOCC1.REQQ) CURDEPTH" | runmqsc PRFGMQA4
5724-H72 (C) Copyright IBM Corp. 1994, 2016.
Starting MQSC for queue manager PRFGMQA4.
AMQ8146: IBM MQ queue manager not available.

No MQSC commands read.
No commands have a syntax error.
All valid MQSC commands were processed.
PRODUCTION> nagios@eu1pmwu050: /usr/local/nagios/libexec >


===================

I also ran below command but there was no output:

echo "DISPLAY QUEUE(WBIA.EESOCC1.REQQ) CURDEPTH" | runmqsc PRFGMQA4 | grep 'CURDEPTH(' | rev | cut -d'(' -f1 | rev | cut -d')' -f1


PRODUCTION> nagios@eu1pmwu050: /usr/local/nagios/libexec > " | runmqsc PRFGMQA4 | grep 'CURDEPTH(' | rev | cut -d'(' -f1 | rev | cut -d')' -f1 <
PRODUCTION> nagios@eu1pmwu050: /usr/local/nagios/libexec >
Thanks & Regards,
I2MP Team.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Queue depth monitoring

Post by scottwilkerson »

RIDS_I2MP wrote:I also ran below command but there was no output:

echo "DISPLAY QUEUE(WBIA.EESOCC1.REQQ) CURDEPTH" | runmqsc PRFGMQA4 | grep 'CURDEPTH(' | rev | cut -d'(' -f1 | rev | cut -d')' -f1
This is the exact command that the plugin runs and if there is no output, you will get the error you are getting.

The fact that you see this in the previous command I believe is the problem, but this is not our plugin, nor do we have experience with IBM systems
RIDS_I2MP wrote:Starting MQSC for queue manager PRFGMQA4.
AMQ8146: IBM MQ queue manager not available.
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Locked