MID Server capabilities

  • Release version: Australia
  • Updated March 12, 2026
  • 3 minutes to read
  • Summarize
    Summarized using AI
    This content was generated using new OpenAI-powered functionality. Results are provided on an as is basis and are not guaranteed to be accurate or complete.

    Summary of MID Server capabilities

    MID Server capabilities specify the distinct functions a MID Server can perform within an IP address range. These capabilities help applications automatically select the most suitable MID Server based on the tasks and protocols required.

    Show full answer Show less

    Key Features

    • Nmap Capability: Automatically assigned to MID Servers with the Network Mapper (Nmap) scanner installed for credential-less Discovery. This capability cannot be manually modified.
    • Capability Values: Capabilities can have no value, a specific value string, or a wildcard (). A MID Server configured with a capability without a value can locate any device using that capability’s protocol. If a value is specified, only devices matching that exact value are found. The Resolve DNS capability is an exception, allowing partial string matches to resolve DNS names.
    • Capability Selection Algorithm: MID Server selection follows an ordered filter sequence—server status, applications, IP range, and then capabilities. Capability matching is attempted first by exact name/value pairs, then wildcard matching, and finally by a special capability named ALL if no matches are found. If a requested capability does not exist, an error is generated.
    • Scripted Capability Matching: Advanced capabilities can use user-defined scripts to evaluate value matches beyond exact string matching. The Resolve DNS capability uses such scripting to resolve device DNS names ending with specified domain strings, enabling flexible device identification based on domain suffixes.
    • Configuration Interface: Starting with the Madrid release, capabilities appear as name:value pairs in selection lists, helping administrators clearly see and assign capabilities with specific values, such as specifying datacenter locations for cloud management.

    Practical Application for ServiceNow Customers

    By configuring MID Server capabilities appropriately, customers enable their ServiceNow instances to intelligently select the best MID Server for discovery, orchestration, and other integrations. This ensures efficient device management and network scanning within defined IP ranges and protocols. Understanding capability values and the selection algorithm helps in fine-tuning MID Server assignments, improving performance and accuracy of automated tasks.

    For specialized functions like DNS resolution or Nmap scanning, customers should ensure those capabilities are properly installed and configured. Additionally, scripted capabilities offer flexibility for complex matching requirements, enhancing the adaptability of MID Servers in diverse network environments.

    MID Server capabilities define the specific functions of a MID Server within an IP address range.

    Nmap capability

    The Nmap capability is only assigned to MID Servers for which the Network Mapper (Nmap) scanner has been installed for credential-less Discovery. This capability cannot be added to or removed from any MID Server manually. For instructions on installing or uninstalling Nmap, see Install and uninstall Nmap on a MID Server

    MID Server capability values

    Capabilities provided in the base system do not have a defined value string. The capability value can be blank, a single value, or a * (wildcard). A MID Server configured to use a capability that has no value can locate any device using that capability's protocol. If a capability has a defined value, the MID Server using that capability finds only those devices using that protocol that match the value string exactly. The exception to this is the Resolve DNS capability, which is configured to resolve any DNS name into an IP address using a partial string match. The * (wildcard) will match a request capability specifying any non-blank value.

    Starting with the Madrid release, the [capability name]:[value] combination appears in the slushbucket when you add a capability to a MID Server. This combination allows you to see all the capabilities that have different values, even if the capability name is the same. For example, if you are using the Cloud Management capability, and you use the value field to specify the us-west logical datacenter on one of the capability records, you can see the combination in the Collection list.

    Capability name and value combination

    MID Server selection

    The MID Server is selected using an algorithm based on the capabilities available. The selector produces a list of suitable MIDs using filters in the following order: server status > applications > IP range > capabilities. The algorithm searches the capabilities in the following sequence and, if a step finds at least one MID server, the remaining steps are skipped:
    1. Exact value match: Find each MID Server containing capabilities with name/value pairs with an exact match to all requested capability name/value pairs. Blank is a valid value. * (wildcard) values are ignored.
    2. Wildcard value match: The same as an exact value match, but also allows a non-blank request value to match MID server capability records containing value *.
    3. Special capability name ALL: Find each MID Server containing the special capability name ALL, ignoring capability's value field.
    Note:
    If the requested capability name does not exist in the ecc_agent_capability table, BadArgumentException is thrown rather than falling back to the ALL capability.

    Scripted MID Server capability value matching

    You can use value tests to create capabilities that find devices using values without requiring exact string matching. Action on these values is controlled by a user-defined script.

    The Resolve DNS capability is provided in the base system and is configured to resolve DNS names into IP addresses for devices whose names end with a specified domain name. The capability Value entered is automatically prefaced with a dot during processing to match domain syntax. This value can contain one or more sub-domains, but must include the end of the domain string. Matching devices must end with the identical syntax. The script for the Resolve DNS capability determines if a device name matches the criteria defined by Value. If a match exists, the platform performs the address resolution automatically. For example, if the value for the Resolve DNS capability is service-now.com, the MID Server with this capability finds lnxlab01.sandiego.service-now.com and dbsrv101.sanjose.service-now.com. If the value is changed to sandiego.service-now.com, then the MID Server finds only lnxlab01.

    Note:
    If Value in the Resolve DNS capability is blank, then all domains match.

    To view the script for evaluating this capability, navigate to MID Server > Capability Value Tests and select Resolve DNS from the list.

    MID capabilities