Examples of Discovery behavior functionalities
Summarize
Summary of Examples of Discovery behavior functionalities
This example illustrates how to configure Discovery behaviors in ServiceNow to efficiently scan multiple domains and device types using MID Servers. It highlights the need for separate functionalities when scanning different domains and protocols, especially when dealing with Windows authentication constraints in WMI scanning. The approach ensures each machine is scanned only once, optimizing network discovery.
Show less
Key Functionalities Explained
- Functionality 1: WMI Scanning on Domain A
- Configured a Windows MID Server (e.g., sandb01-358) to scan Domain A for Windows devices using WMI protocol.
- WMI scans require the MID Server to be joined to the scanned Windows domain because of authentication limitations.
- The behavior uses phase 1 to launch a single Shazzam probe for efficiency.
- Criteria specifying the MID Server and Windows domain (midserver and windomain) are required and must be enabled.
- This functionality includes scanning Windows, DNS, and WINS protocols.
- Functionality 2: SSH and SNMP Scanning on Domain A
- Uses the same MID Server as Functionality 1 but configured to scan SSH and SNMP devices such as UNIX computers and NetGear devices.
- Does not require specific criteria since non-WMI protocols do not have domain restrictions.
- Also uses phase 1 to consolidate scanning into a single Shazzam probe.
- Functionality excludes Windows (WMI) to avoid overlapping scans.
- Functionality 3: WMI Scanning on Domain B
- Configured a different Windows MID Server (e.g., disco-win2003) to scan Windows devices on Domain B using WMI.
- Similar to Functionality 1, requires criteria specifying the MID Server and Windows domain for authentication.
- Also uses phase 1, enabling efficient scanning with a single Shazzam probe across all functionalities.
- Ensures domain-specific WMI scanning complies with Windows authentication constraints.
Practical Benefits
- Allows targeted scanning of devices across multiple Windows domains without authentication conflicts.
- Ensures that each device is scanned once by appropriately separating functionalities by protocol and domain.
- Optimizes discovery operations by consolidating scans into a single phase and Shazzam probe where possible.
- Supports complex environments with multiple domains and mixed device types by configuring MID Servers and criteria accordingly.
This example of a Discovery behavior requires three functionalities for the behavior.
- A Windows MID Server can only discover Windows machines on the Windows domain to which it is joined. This is entirely due to the way Windows authentication works. For this reason, we need a WMI functionality for each domain.
- A Windows MID Server, provided with the correct credentials, can discover SSH and SNMP devices anywhere; however, we cannot combine WMI, SSH, and SNMP functionalities across Windows domains. This is because the functionality criteria for the WMI scans locks in the Discovery to one specific domain. For this reason, SSH and SNMP discoveries require a separate functionality.
- We want to scan each machine only once.
Functionality 1: WMI Scanning on Domain A
We configure a MID Server to scan for the WMI protocol on Domain A. WMI scans authenticate on Windows machines using the domain credentials of the Windows MID Server machine. Windows MID Servers cannot scan for the WMI protocol outside their own domains.
| Field | Input Value |
|---|---|
| Phase | Type a phase number of 1 in this field. All functionalities in this example use the same phase number, which launches a single Shazzam probe for all the functionalities in that phase. A single phase, when feasible, is the most efficient use of the Shazzam probe. |
| Functionality | Select Windows, DNS, and WINS from the list. This functionality defines the WMI protocol that will be scanned and resolves the domain. Because we selected to scan for WMI, we must select a Windows MID Server for this functionality. |
| MID Servers | We select a Windows MID Server from Domain A - in this case sandb01-358. |
| Active | Make sure this check box is selected to enable this behavior. |
| Match criteria | Change the criteria to All. |
Create Functionality Criteria
| Field | Input Value |
|---|---|
| Name | Create the following criteria:
|
| Operator | Select equals as the operator in this criteria. |
| Value |
|
| Active | Be sure to enable the criteria by selecting this check box (true). |
The completed criteria appear in the Discovery Functionality form for this behavior.
Functionality 2: SSH and SNMP
In our network, we want to scan for UNIX computers and netgear, but we don't want to classify these devices twice. One of our MID Servers will be configured to classify SSH and SNMP using a different functionality than it does for WMI scans. We do not need to create criteria for non-WMI functionality.
| Field | Input Value |
|---|---|
| Phase | Type a phase number of 1 in this field. All functionalities in this example use the same phase number, which launches a single Shazzam probe for all the functionalities in that phase. A single phase, when feasible, is the most efficient use of the Shazzam probe. |
| Functionality | Select All except Windows (no WMI) from the list. This functionality will scan SSH and SNMP protocols only. |
| MID Servers | We select the MID Server from Domain A - in this case sandb01-358. |
| Active | Make sure this check box is selected to enable this behavior. |
| Match criteria | Leave the default criteria of Any. Criteria are not used for non-WMI functionalities. |
Functionality 3: WMI Scanning on Domain B
All that remains is to create a functionality for the WMI scans on Domain B. Because of the Windows authentication mechanism, we must configure a Windows MID Server to scan Domain B that is a member of that domain.
| Field | Input Value |
|---|---|
| Phase | Type a phase number of 1 in this field. All functionalities in this example use the same phase number, which launches a single Shazzam probe for all the functionalities in that phase. A single phase, when feasible, is the most efficient use of the Shazzam probe. |
| Functionality | Select Windows, DNS, and WINS from the list. This functionality defines the WMI protocol that will be scanned and resolves the domain. Because we selected to scan for WMI, we must select a Windows MID Server for this functionality. |
| MID Servers | We select a Windows MID Server from Domain B - in this case disco-win2003. |
| Active | Make sure this check box is selected to enable this behavior. |
| Match criteria | Change the criteria to All. |
Create Functionality Criteria
| Field | Input Value |
|---|---|
| Name | Create the following criteria:
|
| Operator | Select equals as the operator in this criteria. |
| Value |
|
| Active | Be sure to enable the criteria by selecting this check box (true). |
The completed criteria appear in the Discovery Functionality form for this behavior.