mq monitor agent not passing credentials with MQCSP as requested by our MQ admins

Document ID : KB000097920
Last Modified Date : 13/06/2018
Show Technical Document Details
Question:
Our MQ admins have built a new cell, and turned on security via MQCSP 
https://www.ibm.com/support/knowledgecenter/en/SSFKSJ_8.0.0/com.ibm.mq.ref.dev.doc/q095610_.htm
Does the MQ agent support this, and if so how do i do it?  We are running the 10.2 MQMonitor agent.
Environment:
APM 10.7
Answer:
Install APM 10.7 SP1 and later . See FAQ section of Websphere MQ powerpack doc for directions. It states the following:
Symptom:
MQ is configured with username/password for authentication. IBM WebSphere MQ fails to connect. How can I provide username/password details?

Solution:
Username/password can be passed as System properties by adding them in the startMQMonitor.sh/startMQMonitor.bat file available in the <MQMonitor_Installation> directory. Open the appropriate file based on your operating system and add the following properties in the java:

-Duser.name=<user_name> and -Duser.password=<password>