In some environments using the IBM MQ Infrastructure Agent, you may find that specific activity metrics like Enqueue Count and Dequeue Count are missing for one Queue Manager while other metrics (Queue Depth, Open Input/Output Count) continue to report correctly. This occurs even when multiple Queue Managers on the same host share identical configurations.
DISPLAY PUBSUB ALL status (e.g., status shows ERROR for the affected manager).This issue is caused by the corruption of an internal IBM MQ object. When an object becomes corrupted, the Queue Manager cannot process the PCF commands (such as MQCMD_RESET_Q_STATS or MQCMD_INQUIRE_Q_STATUS) required by the agent to collect activity metrics.
AMQERR01.LOG) and .FDC files for indications of corrupted objects or error code 2101.If the metrics remain missing after restoring the objects, ensure that the agent has the necessary permissions. You can verify and refresh security using these commands:
⚠️ IMPORTANT: Always test command updates first in a non-production environment. Take a backup before implementing in production.