Discovery and Service Mapping applications use probes and patterns to discover and map information about Linux computers and servers. The information is populated in the CMDB. Discovering some of these resources requires updating the Discovery and Service Mapping Patterns application from the ServiceNow Store.

Supportability details

The Linux server pattern can discover only English-based Linux.

Supported Linux operating systems
For IPv4 discovery:
  • Red Hat
  • Oracle
  • Fedora
  • Debian
  • SUSE
  • CentOS
  • Ubuntu
For IPv6 discovery:
  • CentOS 7
  • Ubuntu 20
The following operating systems or devices haven’t been verified for IPv6 discovery:
  • Red Hat cluster
  • Oracle Clusterware
  • Linux Pacemaker cluster
  • Network storage

Classifier, probes, and pattern

Classifier Probes Pattern
Linux

(Unix classification)

  • Horizontal discovery probe: Launches patterns
  • Linux - Installed Software^
  • Unix - ADM^
  • Linux - Identity*
  • Linux - CPU*
  • Linux - Distribution*
  • Linux - Find FQDN*
  • Linux - Memory*
  • Linux - Memory Modules*
  • Linux - Network ARP Tables*
  • Linux - Storage*
  • Linux - Amazon EC2*
  • Unix - OS Uptime*
  • UNIX - OS Filesystems*
  • UNIX - Find FQDN*
  • Unix - ADM Enhanced*
Linux Server

*These probes aren't active on the classifier, as Discovery uses patterns by default for these discoveries.

^These probes remain active by default, even when Discovery uses pattern discovery.

To use patterns, verify that the correct pattern is specified in the horizontal pattern probe on the classifier. See Add the Horizontal Pattern probe to a classifier for instructions.

Request new or enhanced Patterns on the ServiceNow® Store

Visit the ServiceNow Store to view all the available updates and for information about submitting requests to the store. For cumulative release notes information for all released apps, see the ServiceNow Store version history release notes.

Requirements for Linux discovery

Before running a discovery, you must verify that all the required configurations are complete.
Verify the plugins installation and activation
Verify the required credentials configuration
Configure the credentials by the required SSH permissions. Discovering sensitive Linux data may require a user with appropriate sudo privileges to run the sudu commands. For more information about the commands that require a user with elevated rights, refer to the following documents.

SSH private key credentials are preferable over SSH password credentials for security reasons.

Verify the MID Server configuration
For detailed information, see:
Verify the configuration of the discovery schedule

For information on creating a discovery schedule, see Schedule a horizontal discovery.

Defining IP ranges ensures that only the specified network adapters and their primary IP addresses are used during Linux discovery. You can configure Quick Ranges by entering comma-separated IPv4 address ranges or single IPv6 address.

Alternatively, you can use the network_adapter_exclusion_list property to limit Linux discovery to specific network adapters and their primary IP addresses. For more information, see Omit network adapter secondary IP addresses in Linux discovery.

Data collected

The Linux classifier triggers probes that perform the discovery. Several probes are launched during the discovery. See the classifier for a list of the trigger probes.
Note: See the knowledge article KB0687582 for information on model_id and manufacturer.
* The value in the disk_space field is an aggregation of the total capacity (to include used space) for all non-removable disks, including both directly attached and SAN storage.
Note: Make sure to define unique serial numbers for the RAMs on the Linux server.

Discovery also identifies and classifies information about Linux KVM. Discovery identifies Linux kernel-based virtual machines (KVM) when the process classifier detects libvirtd running on a Linux server. The classification triggers the creation of a cmdb_ci_kvm record and launches the SSH Command probes to explore the Linux server with virsh, lbvert utility, and virtual machine configuration data.

Discovery creates a [cmdb_ci_kvm_instance] record for each virtual machine on the server, and then matches the [cmdb_ci_kvm_instance] record to a corresponding [cmdb_ci_computer] record using the MAC addresses of installed network adapters.

Helpful resources