MQMonitorAgent fails to run with correct user id as a WinService
Article ID: 127270
CA Application Performance Management Agent (APM / Wily / Introscope)INTROSCOPE
We are trying to monitor remote MQ Manager v.8 via Standalone MQMonitor Agent installed on the CA APM host. We have set the proper configuration in MQ Manager side regarding the user, being granted access to the required MQ Manager queues etc as per the documentatuion. The agent runs successfully ONLY when executing the StartMQMonitor.bat via cmd as this defined user (ShiftRightClick on cmd -> RunAsDifferentUser->user credentials) and keeping this cmd console session alive.
When we try to run the agent as a service there are authorisation errors reported in MQ and no metrics are received
We have tried to:
1. Register the MQMonitor Agent as a Windows Service as per the link below: https://docops.ca.com/ca-apm/10-7/en/implementing-agents/ibm-websphere-mq/configure-application-for-mq-monitoring/#ConfigureApplicationforMQMonitoring-InstalltheMQMonitorAgentasaWindowsService The service is created and registered succesfully, we also changed the WinService LogOn with the proper user's credentials,
2. Added the following properties in \Windows Service\jsw-3.2.3\conf\wrapper.conf