<h2>Horizontal discovery process flow with patterns</h2><br/><div style="overflow-x:auto"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"><head><meta content="text/html; charset=UTF-8" /><meta name="copyright" content="(C) Copyright 2025" /><meta name="DC.rights.owner" content="(C) Copyright 2025" /><meta name="generator" content="DITA-OT" /><meta name="DC.type" content="concept" /><meta name="DC.title" content="Horizontal discovery process flow with patterns" /><meta name="abstract" content="Horizontal discovery with patterns has four phases, just as horizontal discovery with probes does. However, for the last two phases, Discovery triggers operations from a pattern, rather than additional sets of probes." /><meta name="description" content="Horizontal discovery with patterns has four phases, just as horizontal discovery with probes does. However, for the last two phases, Discovery triggers operations from a pattern, rather than additional sets of probes." /><meta name="DC.subject" content="Discovery, horizontal discovery process flow" /><meta name="keywords" content="Discovery, horizontal discovery process flow" /><meta name="DC.relation" scheme="URI" content="../../../product/discovery/concept/c_GetStartedWithDiscovery.html" /><meta name="DC.relation" scheme="URI" content="../../../product/it-operations-management/reference/r_ITOMApplications.html" /><meta name="DC.relation" scheme="URI" content="../../../product/it-operations-management/reference/itom-visibility-landing-page.html" /><meta name="DC.relation" scheme="URI" content="../../../product/discovery/reference/r-discovery.html" /><meta name="DC.relation" scheme="URI" content="../../../product/discovery/concept/c_DiscoProcessFlows.html" /><meta name="DC.relation" scheme="URI" content="../../../product/discovery/concept/discovery-admin-workspace.html" /><meta name="DC.creator" content="ServiceNow" /><meta name="DC.date.created" content="2023-08-03" /><meta name="DC.date.modified" content="2024-02-01" /><meta name="DC.format" content="XHTML" /><meta name="DC.identifier" content="disco-process-flow-patterns" /><link rel="stylesheet" type="text/css" href="../../../CSS/commonltr.css" /><title>Horizontal discovery process flow with patterns</title></head><body id="disco-process-flow-patterns"> <div class="breadcrumb"><a class="link" href="../../../product/it-operations-management/reference/r_ITOMApplications.html" title="Get better visibility into your infrastructure and services, prevent service outages, and expand your organization's operational agility with ServiceNow IT Operations Management.">IT Operations Management</a> > <a class="link" href="../../../product/it-operations-management/reference/itom-visibility-landing-page.html" title="The ServiceNow ITOM Visibility product consists of ServiceNow Discovery, ServiceNow Service Mapping, Certificate Inventory and Management, Service Graph Connectors, CMDB 360, and Firewall Audits and Reporting. Discovery and Service Mapping give you a unified, connected view of your entire IT network and the services that it supports.">ITOM Visibility</a> > <a class="link" href="../../../product/discovery/reference/r-discovery.html" title="ServiceNow Discovery is an automated process that continuously scans and identifies all the components within the IT infrastructure. It plays a crucial role in maintaining an accurate and up-to-date CMDB 360 with the information it finds.">Discovery</a> > </div> <h1 class="title topictitle1" id="ariaid-title1">Horizontal discovery process flow with patterns</h1> <div class="body conbody"><p class="shortdesc">Horizontal discovery with patterns has four phases, just as horizontal discovery with probes does. However, for the last two phases, Discovery triggers operations from a pattern, rather than additional sets of probes.</p> <div class="section"><h2 class="title sectiontitle">Scanning phase</h2> <div class="p"><ol class="ol" id="disco-process-flow-patterns__ol_m13_l45_bz"><li class="li"><span class="ph">Discovery</span> first takes the Shazzam probe (and then <a class="xref" href="../reference/r_PortProbes.html" title="Port probes are used in Discovery by the Shazzam probe to detect protocol activity on open ports on devices it encounters.">port probes</a>) and places it in a request in the External Communication Channel (ECC) queue.</li><li class="li">The MID Server checks the ECC queue, retrieves the discovery request, and runs the probes against the host and discovers open ports.</li><li class="li">The port probes scan common ports using several protocols, such as WMI, HTTP, SSH, and SNMP.</li><li class="li">If one or more ports respond, the Shazzam probe sends information about the port back to the ECC queue through the MID Server.</li><li class="li">Discovery checks the ECC queue to find out which ports responded, which identifies the type of machine. For example, if Shazzam detects that the machine is listening on port 22, Discovery treats the machine as a UNIX or Linux machine.</li></ol> </div> </div> <div class="section"><h2 class="title sectiontitle">Classification phase</h2> <div class="p"><ol class="ol" id="disco-process-flow-patterns__ol_ey2_pqt_lx"><li class="li">The Discovery application determines which classification probe to send to the newly discovered device by using information in the record of the port probe that successfully responded.</li><li class="li">Discovery puts the classification probe into the ECC queue.</li><li class="li">The MID Server checks the ECC queue, retrieves the discovery request, and runs the classification probe.</li><li class="li">The classification probe retrieves additional information, such as which version of the operating system is running on a machine. This information determines the class of the CI that Discovery found. There is only one classification probe per discovered device.</li><li class="li">The classification probe sends information back to the instance ECC queue through the MID Server.</li></ol> </div> </div> <div class="section"><h2 class="title sectiontitle">The Identification and Exploration phases</h2> <p class="p">Patterns unify the Identification and Exploration phases of discovery.</p> <ol class="ol" id="disco-process-flow-patterns__ol_ycl_nq5_bz"><li class="li">Discovery determines which classifier to use based on the class of the CI and the criteria specified in all CI classifier records. The classifier specifies the <a class="xref" href="../reference/r-HorizontalPatternProbe.html" title="Discovery uses the Horizontal Pattern probe to launch patterns for horizontal discovery.">Horizontal Pattern probe</a>, which in turn specifies which pattern to launch. The Horizontal pattern probe also contains a sensor which does the actual work of updating the CMDB.<div class="note"><span class="notetitle">Note:</span> Patterns need applicative credentials to find applications running on host machines. Make sure you have applicative credentials configured along with the credentials required to access the host machine itself.</div> </li><li class="li">The operations in the pattern specify the actions that Discovery needs to take for both the identification and exploration phases. Discovery knows which <a class="xref" href="../product/configuration-management/concept/c_IdentificationRules.html" target="_blank" rel="noopener noreferrer">identification rules</a> to use based on the CI type in the pattern, and Discovery makes inserts or updates to the CMDB based on these rules. Only the Horizontal Discovery Sensor is used. Other probes and sensors are not used.</li></ol> </div> </div> <div class="related-links"> <div class="familylinks"> <div class="parentlink"><strong>Parent Topic:</strong> <a class="link" href="../../../product/discovery/concept/c_GetStartedWithDiscovery.html" title="Discovery finds computers, servers, printers, a variety of IP-enabled devices, and the applications that run on them. It can then update the CIs in your CMDB with the data it collects.">Exploring Discovery</a></div> </div> <div class="linklist relinfo relconcepts"><strong>Related concepts</strong><br /> <ul class="linklist"><li class="linklist"><a class="link" href="../../../product/discovery/concept/c_DiscoProcessFlows.html" title="The horizontal discovery process passes through the four phases of discovery using probes, which gather information on the target machine, and then sensors, which help Discovery determine what to do with that information.">Horizontal discovery process flow with probes and sensors</a></li><li class="linklist"><a class="link" href="../../../product/discovery/concept/discovery-admin-workspace.html" title="Using Discovery Admin Workspace, you can discover applications and evaluate application suggestions based on machine learning or crowd-sourced resources. Then, create configuration items with a single click.">Discovery Admin Workspace 1.2.5</a></li></ul></div> </div></body></html></div>