To configure discovery for UNIX or Linux hosts, prepare the host account, add its credentials to the Credentials table, create a Discovery Schedule covering each host IP address, and run network discovery. To have Discovery explore a NAS or SAN storage device directly, enable the SMI-S provider on that device and configure the CIM credentials for it in the instance. Storage attached only to a host is covered by a separate set of probes, so the SMI-S setup does not stand in for the host credential work.
Define the host and storage scope before configuration
Start with a small, known set of hosts so that you can compare the discovered information with an agreed inventory. Record the host IP addresses, the account intended for Discovery, and whether each host has attached storage or connects to a NAS or SAN array. That distinction determines whether the storage provider work belongs in your preparation.
Treat the host configuration and the array configuration as related work items with separate checks. A completed host setup does not by itself demonstrate that the NAS or SAN prerequisites have been addressed.
Write the scope as a list of host IP addresses, one line per host, with a note beside each line on whether it has NAS or SAN storage in scope.
Entering IP ranges on a Discovery schedule with quick ranges requires the discovery_admin role. Check the role needed for the credentials step on your release before you start, and assign the Discovery and storage work to people who hold it. Arrange the host account work with the people responsible for the operating system, and arrange storage provider work with the people responsible for the arrays. Do not assume that the ServiceNow role grants administrative access to those systems.
For background on where this activity fits, see the plain-language introduction to Discovery. Keep this configuration exercise focused on the selected hosts rather than expanding it into an inventory redesign.
Prepare the account that Discovery will use
Identify the host account before entering credentials on the instance. Use an account whose owner can explain its permitted access and approve any changes needed for the intended discovery scope. Record which hosts it is intended to cover; a credential prepared for one group should not be assumed suitable for a different group.
Discovery runs its SSH commands on UNIX and Linux hosts with root privileges. You can supply root credentials, or a non-root account that is allowed to run the specific commands through sudo. Sudo must be configured on each host in the sudoers file. Agree the choice with the host owner before you enter credentials. For process listing, a proc_owner role can take the place of root access for the ps command. Root-level execution is required for the SSH commands Discovery runs on each host. Confirm which of the two supported approaches the host uses before you add the credential.
The instance supports two UNIX and Linux credential routes. One is a root user with its password. The other is a non-root user with its password and the sudo utility. Choose the route before you touch the host.
As a preparation check, ask the host owner to verify that the intended account is available on the selected system and that the agreed privileges are in place. This check separates account preparation from later investigation inside ServiceNow. It also gives the team a clear owner for access questions.
Ask the host owner to confirm that sudo runs the discovery commands for this account without an interactive password prompt.
Document access decisions without putting passwords into working notes. A compact record can name the account owner, the host group, the intended discovery scope, and the approval for any elevated access. For the broader credential planning task, use credentials required for host discovery.
Add credentials and configure discovery for UNIX or Linux hosts
On the ServiceNow instance, add the credentials to the Credentials table. Make sure the host account and the credential entry match, and enter the user name exactly as it exists on the host. Before proceeding, review the entry with the person responsible for the account so that a transcription or account-selection mistake does not become a later troubleshooting exercise.
Then create a Discovery Schedule for each host IP address. Use the host list prepared at the start as your coverage checklist. Check the actual addresses rather than relying on an informal group name, because the setup task is expressed in terms of host IP addresses.
Name each schedule after its host IP address, so a failed run can be traced to one host without opening the schedule.
- Confirm the account that Discovery is intended to use for the selected host.
- Confirm the root or sudo route is in place on that host.
- Add the corresponding credentials to the Credentials table.
- Create the Discovery Schedule coverage for the host IP address.
- Resolve the storage prerequisites where the host connects to NAS or SAN.
- Run network discovery and assess the result against the selected scope.
Use this sequence as a handoff checklist, with one owner assigned to each preparation item. It is easier to investigate an incomplete result when the team can identify the account, credential entry, schedule coverage, and storage decision used for that run.
Check the controls and credential details on your instance and release before making changes. Avoid transferring assumptions from another environment into this one, especially where teams use different account-management practices.
Test the credential against a single host before you widen the schedule.
Prepare NAS or SAN storage access separately
If Discovery needs to query the NAS or SAN array itself, set up the SMI-S Provider and CIM credentials for that array. Include both in the readiness review. A statement that storage is attached is not enough to establish that these prerequisites have been completed for an array connection.
For CIM discovery, the user must have the admin role.
Ask the storage owner to identify the relevant array connection for the host under test. Record the provider preparation and the CIM credential preparation as distinct checklist items. This makes it possible to discuss a missing storage result without immediately changing the host account or repeating unrelated schedule work.
Record the array name and the name of the CIM account against the host in the scope list, but never the password. That gives the storage owner and the Discovery operator the same reference without sharing a secret.
For a mixed host group, mark which systems need the array setup and which do not have a NAS or SAN connection in scope. This is a planning recommendation, not a reason to add storage requirements to unrelated hosts. Keep the evidence for the decision with the host list so that another operator can understand the intended coverage.
When several teams share the work, agree on what counts as readiness before the first run. For example, the host owner can confirm account preparation while the storage owner confirms the provider and credential work. The Discovery operator can then check that the instance configuration matches the agreed host scope.
For help planning this work, see ServiceNow implementation.
How the wbem port probe fits into the initial port scan
The Shazzam probe performs the initial port scan, and its default port probes include wbem, which checks ports 427, 5988 and 5989 for CIM and SLP services. This probe runs as part of network discovery and does not replace the host credentials or the IP coverage you set up earlier.
Run discovery and review host and storage results
Run network discovery after completing the preparation. Review the outcome against the host list and storage scope you agreed at the start. The immediate question is whether the selected configuration gathered the information needed for those hosts and their relevant storage connections.
The review has three parts: confirm the intended host IP address was included, assess the host information gathered, and assess the expected storage information. Keep those observations separate in the run notes. A general statement that a run finished gives the next operator less to work with than a clear account of the results.
If information is missing, revisit the relevant preparation item before changing several settings together. For a host access question, review the intended account, its agreed privileges, and the credential entry. For an array-related gap, include the SMI-S Provider and CIM credential preparation in the investigation.
When a host is reached but returns little detail, check the privilege route before you change the schedule or the network.
Use the Discovery troubleshooting steps when the initial review needs a broader investigation. Record what you observed and what you changed before another run. This helps preserve a usable explanation of the final configuration instead of leaving a series of unexplained adjustments.
Record the host IP addresses reviewed, the host and storage results for each, and any open gaps.