Troubleshooting
URLs used for IBM MQ Software Monitoring
LOGIN API
Authenticate with the IBM MQ REST API to initiate a session and receive a session cookie.
ClassName: CustomQmgr
Retrieve information about all custom queue managers.
ClassName: CustomQueue
Access local queues of a specific queue manager.
ClassName: CustomChannel
Monitor defined channels and retrieve their current operational status for a given queue manager.
Note: Replace the appropriate IP address, username, password, port, <QMGR_NAME>, <QUEUE_NAME>, <CHANNEL_NAME>, and any other required fields in the commands above, then execute the CURL commands.
Flags
- Login to the Gateway and then type gcli.
- Enable the below flag and analyze the /var/log/app/vprobe.log file.
Following are the list of flags:
Verify whether the monitor is REST API-based or SNMP-based.
To identify the type of monitor:
Navigate to Setup → Monitoring → Monitor.
Search for the monitor and check the adapter type and application.
- If the Adapter Type is Application and Application is IBM MQ then it is REST API-based monitor.
- If the Adapter Type is SNMP then it is SNMP-based monitor.
- If the Adapter Type is Application and Application is IBM MQ then it is REST API-based monitor.
Rest API-based monitoring (IBM MQ Software)
Verify whether device is reachable from gateway and able to perform telnet to the configured port.
Syntax: ping
<ipaddress>
Example: ping 1.2.3.4Syntax: telnet
<ipaddress:port>
Example: telnet<1.2.3.4 1111>
Check whether there are any authentication alerts
(metric: ibm.mq.auth.error) on the device.Make sure the credentials are working. You can cross-check whether credentials are working or not, using the above LOGIN API CURL command.
Hit the above CURL Commands from gateway to verify whether you are able to get data response from end device or not.
You can also debug the issue by enabling the flags listed above.
Refer Flags and wait for sometime and analyze the /var/log/app/vprobe.log file.
SNMP-based Monitoring (IBM MQ Appliance)
Verify whether device is reachable from gateway.
Check for any credential-related alerts (metric: snmp.response.timeout) on the device.
Make sure the credentials are working fine from gateway by performing manual snmpwalk.
Refer How to execute SNMPWALK for more information.To check if any metric is not collecting data:
- Navigate to Setup → Monitoring → Monitors and search for the respective monitor.
- Go to the metric in the monitor and find the OID being used.
- Hit the snmpwalk from the gateway with that respective OID and check whether you are able to get response or not.
Enable the below flag and analyze the /var/log/app/vprobe.log file.