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 >
Queue depth monitoring
Re: Queue depth monitoring
Thanks & Regards,
I2MP Team.
I2MP Team.
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Queue depth monitoring
This is the exact command that the plugin runs and if there is no output, you will get the error you are getting.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
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.