Skip to content
Release: Australia · Updated: 2026-03-12 · Official documentation · View source

Horizontal Pattern probe

Discovery uses the Horizontal Pattern probe to launch patterns for horizontal discovery.

The Horizontal Pattern probe works with the Horizontal Discovery sensor to enable Discovery to use patterns for discovery. When you see messages in the ECC Queue from this probe, they appear with the ECC queue name Pattern Launcher, followed by the name of the pattern. The probe contains a sensor named Horizontal Discovery Sensor, which performs the actual updates of the CMDB based on identification rules.

If you create your own device or process classifier and you want to use patterns for discovery, you must specify this probe in the classifier record. You don't need to modify this probe or the Horizontal Discovery sensor.

Splitting payload

When Discovery uses patterns to discover certain devices such as load balancers or network switches, the MID Server can collect large amounts of data. To better handle this, the Horizontal Pattern probe splits the payload into chunks and create multiple ECC Queue records.

Payload splitting happens in two phases. First, the MID Server checks the total payload against size and count limits. The system checks the size limit first. Second, the MID Server evaluates each configuration item (CI) for the number of related items. When a CI has more related items than the chunk size, the system splits those items into separate ECC queue pages. Each page contains a copy of the parent CI with a subset of its related items.

When both phases interact, the number of ECC queue pages can grow significantly. For example, a network switch with 50,000 related items and a chunk size of 100 creates 500 ECC queue pages for that single CI.

The following MID Server properties control payload splitting.

PropertyDefault valueDescription
mid.discovery.max_total_items_size_per_page3,145,728 bytes (3 MB)Sets the maximum size limit of all items (CIs, related items, relations, and references) per ECC queue page. The system checks this threshold first.
mid.discovery.max_ci_count_per_page500Sets the maximum number of CIs per ECC queue page.
mid.discovery.max_relation_count_per_page10,000Sets the maximum number of relations per ECC queue page.
mid.discovery.max_related_count_per_page100Sets the maximum number of related items per chunk. Each chunk becomes a separate ECC queue page containing a copy of the parent CI.
mid.discovery.should_minify_pattern_payloadfalseEnables JSON minification for pattern payloads. When set to true, trims JSON whitespace from the pattern payload to reduce its size.

Tuning payload splitting

You can adjust MID Server properties to reduce the number of ECC queue pages that Discovery creates. The following table identifies common issues and the actions to address them.

IssueActionRelated property
A CI with many related items creates an excessive number of ECC queue pagesIncrease the related items chunk sizemid.discovery.max_related_count_per_page
Payload size is the splitting bottleneckIncrease the size limit and the MID Server JVM heap sizemid.discovery.max_total_items_size_per_page
Payload size exceeds the limit but increasing the JVM heap size is not feasibleEnable payload minification to reduce the JSON payload sizemid.discovery.should_minify_pattern_payload
A high CI count per page is causing splittingIncrease the CI count limitmid.discovery.max_ci_count_per_page
A high relation count per page is causing splittingIncrease the relation count limitmid.discovery.max_relation_count_per_page

Note:

  • These properties are per MID Server. Apply changes to all MID Servers involved in the affected Discovery schedules.
  • If necessary, increase mid.discovery.max_total_items_size_per_page and the MID Server JVM heap size accordingly. Setting these values too high can cause out-of-memory errors on the MID Server and instance nodes. Set values appropriate for your environment.
  • Setting mid.discovery.should_minify_pattern_payload to true can reduce payload size without requiring heap size increase.
  • For environments where a CI has many related items, but fewer total CIs, the primary bottleneck is likely mid.discovery.max_related_count_per_page. Start by increasing that property.

Parent Topic:List of Discovery probes