Discovery probes and sensors
Summarize
Summary of Discovery probes and sensors
Discovery probes and sensors in ServiceNow are essential components for collecting data and updating the Configuration Management Database (CMDB). Although patterns are increasingly replacing many probes and sensors, probes and sensors remain relevant for customers not yet using patterns or those maintaining customized probes after upgrades. Discovery utilizes probes and sensors primarily during the scanning and classification phases, while identification and exploration phases may use either probes and sensors or patterns.
Show less
How Probes and Sensors Work
Probes run on the MID Server to collect information from devices and send data to sensors for processing, which then update the CMDB. Probes may include post-processing scripts that run on the MID Server to refine data before sending it to the sensor. Multi-probes contain multiple probes, and their corresponding multi-sensors process data from each included probe and aggregate the results.
Instructions for probes and sensors are managed through the ECC queue, where the MID Server monitors and executes probe tasks, returning results that sensors process to update the CMDB.
Code signing is enforced for probes, probe parameters, and sensors when enabled, ensuring only validated and untampered payloads execute.
Probe Types and Examples
- Windows computers and servers: Remote WMI queries, shell commands
- UNIX and Linux servers: Shell commands via SSH
- Storage devices: CIM/WBEM queries
- Printers and network gear: SNMP queries
- Web servers: HTTP header examination
- Uninterruptible Power Supplies (UPS): SNMP queries
Management and Customization
ServiceNow includes a variety of standard probes and sensors, which typically require minimal modification. However, customers may adjust probe parameters to control behavior or align customized probes and sensors with new instance versions after upgrades. Multiprobes enable efficient data collection by executing multiple queries under a single authentication.
An example use case is a custom probe that reads a text file from a Windows computer and populates a CI in the CMDB based on that file’s contents.
Practical Benefits for ServiceNow Customers
- Enables automated and detailed data collection from diverse device types to maintain an accurate CMDB.
- Supports customization and extension for unique discovery needs while preserving upgrade compatibility.
- Ensures secure execution with code signing to protect against unauthorized or tampered probes and sensors.
- Leverages the ECC queue and MID Server architecture for scalable, efficient discovery operations.
Discovery probes and sensors perform data collection and update the Configuration Management Database (CMDB).
With each release, patterns are replacing many probes and sensors for Discovery. Consider creating new patterns or editing existing ones if you want to customize what Discovery can find. The information on probes and sensors is intended for customers who are not using patterns yet and for customers who already have customized probes that are retained upon upgrade. See Patterns and horizontal discovery for more information on patterns.
Discovery phases
Discovery always uses probes and sensors during the first two phases of discovery: scanning and classification. For the last two phases, identification and exploration, Discovery can use probes and sensors or patterns. This topic refers to probes and sensors only. See Exploring Discovery for an explanation of these phases. See Patterns and horizontal discovery for more information on patterns.
Probes, sensors, and the ECC queue
After an entry is inserted in the ECC Queue table, a business rule fires (on insert) that takes that information and runs it through a sensor processor. The sensor processor's job is to take the input data, find any sensors interested in that data, and pass it along to be processed. Those sensors ultimately update the CMDB.
How probes and sensors work together
The MID Server launches probes to collect information about a device. The probe sends back information to the sensor to be processed. If the probe has a post-processing script defined, the post-processing script does some data processing on the MID Server before data is sent back to the sensor on the ServiceNow instance. Otherwise the probes sends back all the data collected and the sensor performs this data processing. In both cases, the sensor updates the CMDB.
A multi-probe is a probe that contains probes. A multi-sensor processes the data from a multi-probe. To process the data from the multi-probe, the multi-sensor contains individual scripts to process the data returned by each probe contained in the Multiprobe, as well as a main multi-sensor script. The individual scripts pass their processed data to the main multi-sensor script.
Probe types
| Device | Probe Type |
|---|---|
Windows computers and servers |
Remote WMI queries, shell commands |
UNIX and Linux servers |
Shell command (via SSH protocol, version 2). Discovery supports any Bourne-compatible shell. |
| Storage | CIM/WBEM queries |
| Printers | SNMP queries |
| Network gear (switches, routers, etc.) | SNMP queries |
| Web servers | HTTP header examination |
| Uninterruptible Power Supplies (UPS) | SNMP queries |