How the MQMonitor agent works when a queue manager fails over to secondary server?
DX APM On Prem Agent
Configuration
Basically, If the primary goes down, then the secondary will be activated and the Agent begin reporting metrics. Agent does not switchover rather the MQ Instances.