MID Server ECC Queue
-
- UpdatedAug 1, 2024
- 5 minutes to read
- Xanadu
- MID Server
The External Communication Channel (ECC) Queue is a connection point between an instance and the MID Server. Jobs that the MID Server needs to perform are saved in this queue until the MID Server is ready to handle them.
![]() |
Asynchronous Message Bus
The MID Server subscribes to messages published by the Asynchronous Message Bus (AMB), which notifies the MID Server that it has pending task records in the ECC Queue. If a task exists in the ECC Queue for that MID Server, the MID Server sets the status to "Processing". When finished working on a requested job, the MID Server reports back to the ECC queue with the results.
The MID Server opens a persistent connection to the instance through the AMB Client and listens on the /mid/server/<mid_sys_id> AMB channel. When an output record is inserted into the Queue [ecc_queue] table, an AMB message is sent to the MID Server's channel. The MID Server receives this message and immediately polls the ecc_queue table for work, unless the MID Server is busy and the message priority level is not Interactive.
The MID Server polls the ECC queue at the maximum regular interval defined in the mid.poll.time configuration parameter (40 seconds by default), regardless of AMB message activity. If the MID is busy and receeives an AMB message witrh a priority level other than Interactive, the queue poll time changes to mid.poll.time.standard (5 seconds by default). This polling of the ECC queue at a regular interval is done in case the AMB connection is dropped.

ECC Queue information
ECC queue controls
Related link | Description |
---|---|
Run again | Runs the probe again. You can re-run probes when you encounter a failed discovery or other unexpected results. |
Go to CMDB item | Open the CI record for the CI that was updated during the discovery. |
Go to Sensor | Open the record for the associated sensor. |
ECC Queue retry policy
The ECC Queue Retry Policy plugin (com.glideapp.ecc_retry_policy) needs to be activated to be able to view the ECC Queue Retry Policy and Queue Retry Activity modules.
Manage ECC Queue content for a MID Server
The ECC Queue allows you to create ECC Queue messages, access MID Server log entries, and retrieve statistics from an individual MID Server record.
Before you begin
Role required: admin, mid_server
Procedure
-
Send remote commands through a MID Server to a hosting device directly from the
ECC Queue without running Discovery.
-
Access entries in the ECC Queue that show agent0.log.0
logs and wrapper.log logs for an individual MID
Server.
-
Access the queue.stats topic for useful information
about individual MID Servers, such as memory and CPU usage data.