IT CanvassTalk to an advisor
ITOM deep-dive · LessonReviewed by Praveen T, ServiceNow Trainer, 9 yrs · Updated · Published · current release · intermediate

ServiceNow Discovery

Automatically find what's on your network and fill the CMDB.

Quick answer

ServiceNow Discovery finds servers, cloud resources, network devices and installed software and writes them to the CMDB without installing agents. A MID Server inside your network runs the probes over SSH, WMI, PowerShell and SNMP with stored credentials, in four phases: scan, classify, identify through the IRE, and explore. Most failures are credentials or MID Server reach.

Key takeaways
  • The MID Server
  • The four phases
  • Agentless, credential-based
  • Horizontal vs top-down
  • Common mistakes

Discovery automatically finds what is on your network and populates the CMDB, servers, cloud resources, network gear, installed software, without manual data entry. It is agentless, running from a MID Server using credentials and standard protocols.

The MID Server

Discovery runs through a MID Server, a lightweight Java application you install inside your network that bridges to the instance. It executes the probes, holds no permanent data, and is the linchpin of every ITOM capability that reaches your infrastructure.

The four phases

1. Scan --> is something at this IP? (port/shazzam probe) 2. Classify --> what kind of device is it? (match a classifier) 3. Identify --> new CI, or update an existing? (via IRE) 4. Explore --> gather detailed attributes (probes + sensors) and relationships
Probe
A request sent to the target (SSH command, WMI query, SNMP get).
Sensor
Parses the probe result and writes CI data.
Pattern
The modern, low-code alternative to probes/sensors, Discovery increasingly uses patterns.
Credential
Stored securely; the MID Server uses it to authenticate to targets.

Agentless, credential-based

Discovery installs nothing on targets. It authenticates with stored credentials over SSH (Linux/Unix), WMI/PowerShell (Windows) and SNMP (network devices). Most Discovery failures are really credential or MID Server network reach problems, a device classifies but never explores because the credential can't log in.

Horizontal vs top-down

Discovery finds CIs horizontally (all the servers, everything on a subnet). Service Mapping works top-down from an entry point to connect those CIs into a business service. They are complementary halves of a complete CMDB.

Common mistakes

  • Insufficient or wrong credentials, so devices classify but never explore.
  • MID Server can't reach a network segment, silent gaps in the CMDB.
  • Running Discovery without IRE tuning, generating duplicate CIs.
  • Under-sized MID Server for the estate, so scans overrun.
Already working on ServiceNow and stuck on a live ticket?Get an expert ServiceNow developer on screen-share to finish your daily tasks with you. Deliver on time, protect your reputation and your job. Monthly support only, no task-wise plans.Task assigned · no idea where to startStill stuck · your job on the lineExpert joins your screenDelivered on timeExplore On Job Support