MID Server Shows Down Although the MID Process Is Running: HeartbeatProbe Is Not Created for Each MIDSummary Symptoms A MID Server shows Status = Down in the instance, although the MID process is running and its communication with the instance appears normal.An unresolved MID issue is recorded, for example: "MIDUserConnectivity: User <mid user> associated with down MID Server: <sys_id>. No login attempts within reporting period." The count increases every 4 hours.In ecc_queue: Records with Agent mid.server.*, Topic HeartbeatProbe, Queue output are created every 5 minutes.There are no HeartbeatProbe output records for the individual MID agents (mid.server.<MID name>).There are no HeartbeatProbe records in the input queue.The mid.server.* records stay in State ready until the next monitor cycle, and become processed about 5 minutes after they were created. Cause The Business Rule "Probe - All MIDs" (table ecc_queue, When: before, Insert/Update, Order 100) is inactive. This Business Rule expands the wildcard record mid.server.* into one record per MID. Without it, no MID receives a HeartbeatProbe, so no MID responds, and the monitor job marks the MID as Down. Resolution Open the Business Rule record Probe - All MIDs. Confirm that the change was not intended. Then restore the record to set Active = true.Verify (allow about 5 to 10 minutes): ecc_queue shows mid.server.<MID name> records with Topic HeartbeatProbe, Queue output, every 5 minutes.The mid.server.* record becomes processed at the time it is created.HeartbeatProbe records appear in the input queue for each MID.The MID status returns to Up. The MIDUserConnectivity issue is resolved at its next run (every 4 hours). How It Works 1. Monitor job (sys_trigger "MID Server Monitor") Runs every 5 minutes and performs the following actions: Marks as processed any HeartbeatProbe output record (agent starting with mid.server.) created within the last 10 minutes that is not yet processed.Sets ecc_agent.status = Down when both of the following are true: The MID's last_refreshed is older than the last heartbeat send time (stored in sys_status, name mid.monitor.heartbeat_sent, with a 5-second margin).There is no input record from that agent in ecc_queue since that time. Inserts one ecc_queue output record with Agent mid.server.*, Topic HeartbeatProbe, State ready, and updates mid.monitor.heartbeat_sent. 2. Fan-out (Business Rule "Probe - All MIDs") Condition: current.agent == "mid.server.*" && current.queue == "output" && current.state == "ready"It sets the wildcard record to processed immediately, then creates one output record per MID with Agent mid.server.<name> and State ready. All MID Servers are targeted, including those in Down status. (Verified on Australia release) The wildcard heartbeat request is expanded into individual requests for eligible MID Servers. By default, MID Servers that have remained in Down status for more than 30 days (mid.max_down_days) may be excluded from the broadcast. (Verified on Brazil release) Important: Behavior differs between Australia and Brazil releases. 3. MID response Each MID picks up its own HeartbeatProbe and returns a response (an input record). A response, or a refresh of last_refreshed, prevents the MID from being marked Down in the next monitor cycle. 4. MIDUserConnectivity (Scheduled Job, every 4 hours) It evaluates only MIDs that are already Down.It looks in sysevent for the events login, login.failed or login.authorization.failed where parm1 equals the user in the MID's mid.instance.username, created within the last 4 hours and 1 minute. If there are none, it reports "No login attempts within reporting period."This message can appear for any Down MID, even when communication works. It is a consequence of the Down status, not the cause. Investigate why the MID is Down. Troubleshooting Checklist CheckWhereHealthyMonitor job runssys_trigger "MID Server Monitor"State Ready, Next action within 5 minutes, repeat interval 00:05:00Last heartbeat send timesys_status mid.monitor.heartbeat_sentUpdated within the last 5 minutesWildcard recordecc_queue, Agent mid.server.*, Topic HeartbeatProbeCreated every 5 minutes and processed at creation (not 5 minutes later)Per-MID recordecc_queue, Agent mid.server.<name>, Topic HeartbeatProbe, Queue outputCreated every 5 minutesMID responseecc_queue, Topic HeartbeatProbe, Queue inputPresent for each MIDBusiness Rulesys_script "Probe - All MIDs", table ecc_queue Active and unchanged from the default implementation MonitorMIDServersys_script_include "MonitorMIDServer"Unchanged from the default implementation Release All