ServiceNow Discovery finds the devices, software and cloud resources in your environment and records them as configuration items (CIs) in the CMDB. What it can discover depends on three things: the credentials you give it, the network paths open between the MID Server and each target, and the cloud accounts you connect. A host it cannot log in to, or a subnet it cannot reach, may look empty or thin in the CMDB even though the assets are there.
Discovery covers four broad groups of assets
Discovery projects usually end up covering the same kinds of assets, though depth varies by asset type and by release. When you scope a project, plan around these groups:
- Network devices such as switches, routers, firewalls and load balancers, often identified through their management interfaces
- Compute hosts, Windows and Linux or Unix, along with the software and services running on them
- Cloud resources held in AWS or Azure accounts, read through the provider’s own interfaces
- Virtual and containerized environments, which need their own checks because one physical host can carry many workloads
Network, CI and cloud discovery reach assets by different routes
Network discovery starts from address ranges you define. Probes test which addresses respond, then identify what answers. CI discovery goes a level deeper: once a host is found and a credential works, Discovery reads what is installed on it and how it is configured. Cloud discovery skips address scanning. It asks the provider what exists in an account, so an asset with no open address can still appear, while an asset that answers a scan can still be missing if the identity used cannot read it.
Keep the three routes apart when you plan. A failure in one says little about the others. If a switch is found but the hosts behind it are not, the cause usually sits in credentials or reachability, not in the network scan itself.
Credential-less host discovery records hosts you cannot log in to
If a host responds on the network but every credential-based classification probe fails, Discovery can still create a host record without logging in. This is credential-less host discovery. It needs the mid.discovery.credentialless.enable system property set to true before the pattern can launch, so check that setting first.
Nmap, run by a Windows MID Server that has it installed, confirms the host is up and looks up its name through reverse DNS. If no name is configured, the IP address becomes the host name. The operating system family is identified with packet capture, and the port list is held in the IP Service table, where all ports are available for scanning by default. The new record goes into the Hardware table. Hosts in one of six supported server operating systems get a matching server class, and anything else keeps the base hardware class.
Once credentials work, a credential-based run updates that same record using its serial number, host name and class. Until then, the record holds only what the scan could learn, so it will usually be thinner than one a credential-based run creates.
Cloud accounts are limited by the permissions you grant
For AWS and Azure, the reach of Discovery is set by the identity you connect. Give it read permissions across the accounts, subscriptions and regions you care about, and it lists what those permissions allow. Narrow the permissions and the inventory shrinks, which is why a gap in cloud data is easy to miss. Compare resource counts for one account against the provider’s own console before you trust the numbers. If the cloud side is part of a wider move, our cloud services for AWS, Azure and Google estates cover the broader picture.
Which resource types each release covers also varies, so check the supported list in your own instance before you plan around any category.
Containers, virtual machines and serverless need separate checks
Virtual machines often appear through two routes at once: from the hypervisor or cloud side, and from a direct scan of the guest operating system. Expect duplicates, and decide which source owns each record. Containers are the least uniform category. Whether a container platform and its workloads are mapped as CIs depends on the release and on the integration you enable, so test one cluster before you assume full coverage.
Serverless functions are harder again. A function has no long-running host for a probe to reach, so visibility depends on the cloud account data Discovery can read for that service. Treat serverless coverage as something to verify for your release, not something to infer from the category name.
Gaps in Discovery’s view and how to close them
Blind spots usually come from a short list of causes. The table pairs each one with the symptom it produces and the first thing to check. Credentials are a common source of gaps, so start there. The way you grant and scope them is covered in our guide to governing Discovery credentials and their scope.
| Gap | What it looks like | First thing to check |
|---|---|---|
| Firewall or access rule blocks the probe path | Some ports respond in tests, but no host detail comes back | Confirm the MID Server can reach the ports each probe uses on that target |
| Missing or out-of-scope credentials | Hosts are found but no installed software or configuration appears | Check that a working credential is assigned to that host range |
| Subnet outside the MID Server’s routing | An entire range shows no results | Check where the MID Server sits and whether routing reaches the range |
| Devices that do not answer ping | Running hosts can be missed by ping-based probes | Check which other probes are enabled and whether they reach those hosts |
| Cloud identity lacks read rights | Some resource types are missing from an account that otherwise appears | Compare counts with the provider console for the same account and region |
| Release does not cover the resource type | A category may not appear, whatever the credentials | Check the supported resource list for your release and plugins |
If you want outside help mapping these gaps, our Discovery and Service Mapping service page sets out what that work covers.
Discovery status records help you find where a scan stopped
When a scheduled scan returns fewer items than you expected, open its Discovery status record first. Each record shows the schedule that ran, the state the run reached, how many probe messages it sent and how many sensor records it processed, and which classification probe found each device, so you can see how far the scan got.
The state field shows whether a run was starting, active, completed or canceled. The Discovery Log is usually the most useful part for diagnosis. It records classification failures, authentication failures and CMDB updates, with one entry for each action. The device history lists every device scanned and what the sensors did to its CMDB record. The status list shows only 30 days of records by default, so review a failed run while it is still listed. For how schedules are set up, see our guide to Discovery schedules.
Other data sources share the same CMDB
Discovery is one source of CI data, not the only one. Monitoring tools, spreadsheet imports and connectors built for other platforms can all create or update the same records. When two sources disagree about a server’s owner or software version, the result depends on your reconciliation rules, so write those rules down before you load a second source. Ownership is a field teams often leave blank. Our page on ServiceNow asset lifecycle management with clear ownership covers that side of the work. For the wider platform, see the ServiceNow Discovery hub.
Questions teams ask about Discovery coverage
Does Discovery need software installed on every server?
Usually not. Discovery typically reaches hosts through remote protocols, using credentials stored in the instance, and the MID Server does the work from inside your network. Some setups add other collection methods, so confirm what your own instance does for each host type before you plan a rollout.
Why does one server appear twice in the CMDB?
Usually because two routes found it, such as a direct scan and a cloud or hypervisor record, or two scans that used different identifiers. Pick the source that should own each attribute and make sure your reconciliation rules merge the records. Duplicates left in place make later reports and impact views less reliable.
Can Discovery see everything in a cloud account?
No. It sees what the connected identity can read, within the regions and resource types included in your setup and release. Matching counts against the provider console for the same account is the quickest way to measure the gap.
How often should discovery run to keep coverage current?
That depends on how fast your estate changes and how much it holds. Schedules are set in your instance, so review them against your real rate of change instead of running every scan at the same interval.