Start ServiceNow Discovery tool setup with a controlled pilot: verify MID Server connectivity, test device credentials, define a narrow IP scope, and inspect a manual run before adding recurring scans. Compare the results with known hosts, resolve authentication and duplicate-record findings, then expand through the same checks for each range.
Treat the discovery tool setup as a sequence of small go/no-go checks rather than one event. Each step below ends with a clear condition for moving on. For the wider picture, see our ServiceNow Discovery guides.
Readiness checks before the first scan
Include readiness in your first-run troubleshooting. Before you configure anything, confirm three things. Review the existing CMDB data and verify how your configured discovery process will handle existing records. The user performing manual Discovery setup needs discovery_admin. Creating a horizontal Discovery schedule requires discovery_admin or admin. Assign access for the action being performed rather than granting broad rights to get past an error. The network path from the MID Server to each target has to be open for the protocols you plan to use.
Write the answers down with an owner for each one. Resolve uncertainty about who controls a firewall rule or who approved a credential before the pilot. If those answers are unclear, see our ServiceNow governance setup page before you change anything.
Install and validate the MID Server before anything else
Verify the MID Server requirements for your setup before installing it. For the initial deployment, plan at least two MID Servers assigned to different schedules and IP ranges. A single-host pilot test is a controlled validation step within that deployment plan. Assign the Discovery or ALL application to the MID Servers used for Discovery. Install it on a host that can reach your ServiceNow instance and the pilot range without depending on an unstable link. Once it is installed, check Discovery > MID Servers and review its logs for connection errors. If it is missing, check the instance address in Configuration Parameters, the Windows service login and running state where applicable, outbound port 443, proxy restrictions, and firewalls between the host and the instance.
Then test it against one device you chose yourself, ideally one whose configuration you can read directly. A MID Server that shows as up but cannot reach that device has failed the step, even though its status looks healthy. The MID Server guide covers the install in more detail.
Go when the server is connected and its logs stay clean through the test. No-go means you fix the network path or the host before you touch credentials.
Set credentials for the pilot range and nothing more
Check which credentials your pilot devices need and how your configured discovery process selects them. Keep the pilot narrow by loading only the accounts the pilot range needs. When investigating a failed probe, check which credential was attempted before changing the available accounts.
Discovery determines which credentials work for a device. Configure the credentials needed for UNIX, vCenter, and SNMP on the instance; for Windows WMI, review the login used by the MID Server service. Test credentials before running the schedule, then record which host and protocol each test covered. For a practical rule on scoping and reviewing these accounts, read our note on how to govern discovery credentials.
Go when each credential you added succeeds against at least one pilot host of its type. If a credential does not succeed against its intended host, investigate the cause before adding more.
Define the ServiceNow Discovery tool setup pilot range
Pick the first range by hand. A single subnet you know well, or a short list of hosts you can check through their own consoles, gives you a baseline you can trust. Avoid large ranges, and avoid a recurring schedule for the first run. Run discovery once, manually, so you can watch it finish and read what it did. A recurring schedule can wait until the one-off run has shown clean results.
For a repeatable pilot, open All > Discovery > Discovery Schedules and select New. Complete the form, right-click the record header, and select Save. Quick Ranges under Related Links lets you define the addresses to scan. Record the intended range, excluded devices, selected MID Server, and discovery type before running it. A reusable range set can help when several schedules need the same network scope.
Widen in steps. Add the next range only after the previous one has produced results you could explain. Apply the same checks to each new range.
Go when the hosts you know about are found and classified the way you expect. No-go means stop widening, read the logs, and fix the cause before you add anything else.
Read the first run in the logs before you trust the CMDB
When the first run finishes, read the discovery logs before you trust the CMDB results. In Brazil, validating results through the Discovery Log and ECC Queue requires discovery_admin or discovery_operator; check permissions and labels for your instance and release. Look for evidence of which hosts were probed and any authentication or classification failures. A host that appears with little data is not automatically a success. Investigate how it was detected and whether authentication succeeded.
In Discovery > Discovery Log, use Device to follow the entries for one target IP and Source to identify the probe involved. Level distinguishes Debug, Error, Information, and Warning messages. Follow ECC queue input to the associated queue record and inspect the XML payload when the message alone does not explain the failure. Preserve that evidence before changing a credential or range.
Then compare the results against what you know. Each host you expect should appear once, with the right class and a plausible name. Any new record that duplicates an existing one is a finding to resolve, not something to merge quietly. Group the errors by cause, so one bad credential does not look like twenty separate problems. Once the data is clean, the ServiceNow reporting and analytics guide is the next place to read about getting more from it.
- Hosts you know about: found once, with the expected class
- Hosts you expect but did not see: investigate each missing host
- New records that duplicate existing ones: explained or resolved
- Errors: grouped by cause, with a fix or a known limit for each group
Go to the next range when the pilot hosts match, the duplicates are explained or resolved, and the errors have a known cause.
Switch the schedule on after the manual run checks out
Keep the pilot on On Demand while its manual runs are being checked. Once it has, choose a run option that matches your window. On Demand is the default and runs only when someone selects Discover now. Daily, Weekly, Monthly and Periodically run on a schedule, and Periodically repeats at the interval you set.
Before you rely on a recurring window, confirm which time zone the schedule times are read against. For Periodically, set Repeat Interval and Starting deliberately: the first run uses Starting and later runs follow the interval. Record the first expected execution and compare it with the actual run before expanding the schedule.
Review the status of each Discovery run
Each run leaves a status record. Open it from All, then Discovery, then Status, and check whether the run is still active. A run that stays active far longer than the scan you expected is the one to investigate first.
Before you cancel a run, know that Cancel Discovery is only available while the run is active. Canceling ends any sensor work still in progress and deletes sensor jobs that were scheduled but not yet run. Canceling needs discovery_admin or discovery_operator in Brazil, so confirm that access in advance.
For help planning this work, see ServiceNow implementation.
Questions about pilot runs and schedule edge cases
Can I test one address without creating a schedule?
Yes. With discovery_admin, open Discovery > Discovery Schedules and select Quick Discovery. Enter a single address in Target IP, choose the MID Server, and select OK. Quick Discovery accepts a host address rather than a subnet. Its results open in a status record without an associated schedule.
Why is my MID Server absent from Quick Discovery?
The selection list includes MID Servers that are Up and Validated. Check both conditions before treating an empty list as a credential problem. An operational server associated with the target subnet can be selected automatically; review the selected server before launching the test.
Will Quick Discovery automatically replace an unavailable cluster member?
If the chosen MID Server belongs to a load balanced cluster and becomes unavailable, Quick Discovery does not assign a replacement from that cluster. Select another suitable MID Server for the test. Include that manual recovery step in the pilot handoff so operators do not wait for reassignment.
Why did a monthly scan skip a month?
A Monthly schedule does not run when its selected day is absent from that month. Choose a day that matches your operational requirement, or consider Month Last Day when the requirement is the final calendar day. Check the resulting run dates before relying on the schedule for coverage.