Page 3 of 3

Re: Queue depth monitoring

Posted: Fri Nov 15, 2019 2:48 am
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 >

Re: Queue depth monitoring

Posted: Fri Nov 15, 2019 7:24 am
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.