I am new to IBM MQ, wanted to know if its possible to display remote queue managers from client host using CLI, like I can successfully see the remote queue managers in webconsole of client-ibm-mq but how to check that from CLI or PCF or REST call
It is not currently possible to use remote MQ commands (such as PCF or MQSC) to display the queue managers on a machine.
However, using the MQ Console or the REST API it is possible. Do an HTTP GET from the following URL (changing the domain accordingly):-
http://localhost:9080/ibmmq/rest/v1/admin/qmgr
This will show you output like the following:-
{"qmgr": [
{
"name": "MQG1",
"state": "running"
},
{
"name": "MQG2",
"state": "ended"
}
]}
For more information on this particular REST API, see reference page for HTTP GET from /admin/qmgr