---
sourceDocument: Australia ServiceNow AI Platform Capabilities
sourceDocumentLink: https://servicenow-prod.fluidtopics.net/r/de-DE/servicenow-platform

 Release :

    - australia

ft:locale :

    - de-DE

ft:publication_title :

    - Australia ServiceNow AI Platform Capabilities

ft:clusterId :

    - platcap

bundleId :

    - platcap

workflow :

    - Platform


---

# MID Server ECC Queue

# MID Server ECC Queue {#ariaid-title1}

* Freigeben Version: Australia
* 
* Aktualisiert 12. März 2026
* 
* ![](https://www.servicenow.com/docs/portal-asset/ico-clock) 6 Minuten Lesedauer

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.

|-|
|   |
[ ]

{#ecc-queue-mid-server__table_sf2_dsf_khb}

## Asynchronous Message Bus {#ecc-queue-mid-server__section_b5j_ysv_s1b}

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.  
Abbildung : 1. MID Server ECC queue polling process  
Hinweis:  
The AMB client on the MID Server does not work in all environments and might need to be disabled to avoid performance issues. To disable AMB in your environment, set the mid.disable_amb parameter to true. When you disable AMB, the MID Server no longer receives notifications for each new ECC queue output record. See  mid.poll.time in  [MID Server parameters](https://servicenow-prod.fluidtopics.net/VYH5xHLIPq1GhC9qbQDc9Q#mid-server-parameters "Parameters control the behavior of a particular MID Server and have lower precedence than MID Server properties.") for more information.

## ECC Queue information {#ecc-queue-mid-server__section_q2w_ssy_t1b}

You can access the ECC Queue by navigating any of these paths:

* DiscoveryOutput and ArtifactsECC Queue
* DiscoveryDiscovery Schedules{schedule name}{Discovery status record}
* ECCQueue
* {Discovery Status record}ECC Queue
{#ecc-queue-mid-server__ul_jyv_fs4_bhb}  
An ECC Queue provides the following information:{#ecc-queue-mid-server__table_ecc-queue-fields__entry__2}

| Field | Input value |
|-|-|
| Agent | The name of the external system that this messages is either from or to. If the message is from or to a MID Server, the agent name is in the form `mid.server.xxx`, where xxx is the name of a particular MID Server. |
| Topic | The name of the probe the MID server ran. If you are using a pattern for discovery, the [Horizontal Pattern probe](https://www.servicenow.com/docs/access?context=r-HorizontalPatternProbe&version=australia&pubname=australia-it-operations-management&ft:locale=en-US) [Horizontal Pattern probe](https://www.servicenow.com/docs/access?context=r-HorizontalPatternProbe&version=australia&pubname=australia-it-operations-management&ft:locale=en-US) appears. |
| Name | The actual command the probe ran. For example, if Topic is SSHCommand, then the Name field contains the actual shell command to run. If you are using a pattern for discovery, the following appears: Pattern Launcher: followed by the name of the pattern and the multipage number. |
| Source | The IP address that the discovery is to run against. A few probes run against multiple IP addresses; in those cases, this field contains a human-readable description. |
| Response to | This optional field contains a reference (sys_id) to the ECC Queue message that this message is in response to. Discovery makes extensive use of this field to track the hierarchy of messages that result from a given scheduled Discovery. Click the record icon for the value in this field to open the ECC Queue record for the activity that spawned the current probe or sensor record. |
| Queue | An indicator of whether this message was is an input message or an output message. |
| State | The state of the current ECC queue record. States update automatically. |
| Processed | The time when this message was processed. |
| Created | The time when this message was created. |
| Sequence | The unique sequence number for this message. This value is automatically generated when an ECC Queue record is inserted. Its use is deprecated. |
| Error string | An error message, if an error occurred during processing. This field is hidden on the standard form unless there was an error. |
| Payload | The body of the message in XML format. The returned XML has a root tag of `<results>` containing one or more `<result>` tags and a single `<parameters>` tag. The parameters are simply an echo of those sent to the MID server in the probe; they vary from probe to probe, but in general they tell the probe the details of what it is to do and how it should behave. The result tags are the most interesting ones: they contain the actual data generated by the probe. |
[ ]

{#ecc-queue-mid-server__table_ecc-queue-fields}

## ECC queue controls {#ecc-queue-mid-server__section_ekr_2ty_t1b}

The ECC Queue form contains these related links:{#ecc-queue-mid-server__table_c2f_fj4_lz__entry__2}

| 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-mid-server__table_c2f_fj4_lz}

## ECC Queue retry policy {#ecc-queue-mid-server__section_vd3_lk1_lbc}

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 {#ariaid-title2}

The ECC Queue allows you to create ECC Queue messages, access MID Server log entries,
and retrieve statistics from an individual MID Server record.

### Vorbereitungen

Role required: admin, mid_server

### Prozedur

1. Send remote commands through a MID Server to a hosting device directly from the ECC Queue without running Discovery.
   1. Navigate to the ECC Queue and click New.
   2. Create a message with these settings:  
      * Agent: The name of the MID Server that executes the command.
      * Topic: Command
      * Name: The actual command that you want to process. For Windows, this is expressed in a DOS command line structure. For Linux, the structure could be a bash command line entry.
      * Queue: Output
      * Payload: With proper XML tags, you can specify the command here instead of in the Name field. The advantage to this is that the command is not restricted by the Name field length of 120 characters. Use the following XML format for the command:

      {#manage-ecc-queue-content__ul_b3p_zvy_t1b}  

          <parameters>
             <parameter name="name" value="ACTUAL_COMMAND_LINE"/>
          </parameters>

   {#manage-ecc-queue-content__substeps_ow3_3xy_t1b}
2. Access entries in the ECC Queue that show agent0.log.0 logs and wrapper.log logs for an individual MID Server.
   1. Open a MID Server record.
   2. Under Related Links, click Grab MID logs, files and thread dump.  
      ECC queue records appear in the list using the following filter:
      * \[Topic\] \[is\] \[SystemCommand\]
      * \[Source\] \[is\] \[grabLog\]
      * \[Agent\] \[is\] \[your MID Server\]

      {#manage-ecc-queue-content__ul_fqg_gmb_yv}

      Only agent0.log.0 and
      wrapper.log entries appear. These logs
      are also accessible in the \~\\agent\\logs\\ file
      path.
   3. To open a log entry, click the link under the Created column.
   {#manage-ecc-queue-content__substeps_kzd_4wy_t1b}
3. Access the queue.stats topic for useful information about individual MID Servers, such as memory and CPU usage data.
   1. Open a MID Server record.
   2. Under Related Links, click MID Statistics.  
      ECC queue records appear in the list using the following filter:
      * \[Topic\] \[is\] \[queue.stats\]
      * \[Agent\] \[is\] \[your MID Server\]
      {#manage-ecc-queue-content__ul_kw3_3zy_t1b}
   {#manage-ecc-queue-content__substeps_tzv_nyy_t1b}

