Thank you for your feedback.
Form temporarily unavailable. Please try again or contact docfeedback@servicenow.com to submit your comments.

MID Server parameters

Log in to subscribe to topics and get notified when content changes.

MID Server parameters

Parameters control the behavior of a particular MID Server and have lower precedence than MID Server properties.

To add a parameter to a MID Server, see Add a MID Server parameter
Important: Changes to parameters only take effect when the MID Server is started (or restarted).

Required parameters

Note: Using special characters in an XML configuration file requires you to encode them.
Names Description
url Specifies the URL to the associated instance. Normally the URL is similar to https://instance.service-now.com, where you replace instance with the instance name. If you host your own instance, use the URL set by your organization.
  • Type: string
  • Default value: none
mid_sys_id Records the MID Server record's unique identifier. This parameter should be empty when you initially configure a MID Server. Do not change the value.
  • Type: string
  • Default value: automatically set (GUID)
name Use this parameter to supply a name that is meaningful for you. If you do not supply this parameter, the MID Server uses the default value. A set of business rules synchronizes the name in the configuration file with the name in the MID Server record. The business rules ensure that changing the name in one location also changes the name in the other location.
  • Type: string
  • Default value: YOUR_MIDSERVER_NAME_GOES_HERE
mid.instance.username or glide.glidesoap.username If the ServiceNow instance has authentication enabled, as it is by default, set this parameter to define the user name the MID Server should use to log in to the instance. This user should have the mid_server role on the ServiceNow instance in order to access necessary tables and fields. You can use this parameter to define user names with special characters.
  • Type: string
  • Default value: none
mid.instance.password or glide.glidesoap.password If your ServiceNow instance has authentication enabled, as it is by default, set this parameter to define the password the MID Server should use to log in to the instance. You can use this parameter to define passwords with special characters.
  • Type: string
  • Default value: none

CIM parameters

Names Description
mid.cim.batch.size Specifies the maximum number of messages sent at once to a CIM server.
  • Type: integer
  • Default value: 1
mid.cim.request.interval Specifies the number of milliseconds to wait between requests to the same Common Information Model Object Manager (CIMOM).
  • Type: integer (milliseconds)
  • Default value: 0
mid.cim.host.connection.limit Specifies the maximum number of simultaneous connections to each Common Information Model Object Manager (CIMOM). A value of zero disables simultaneous connections.
  • Type: integer (number of connections)
  • Default value: 0

Connection parameters

Names Description
glide.mid.fast.responses Instructs the MID Server to try sending messages to the instance as soon as they are ready. Normally the MID Servers ends message to the ServiceNow instance serially (that is, one message at a time). Since many probes can be run in parallel, there can be multiple messages simultaneously transmitted to the instance. Setting this parameter to true may decrease the time between a probe's completion and its response arriving at the instance. However, the multiple simultaneous messages consume resources, decreasing the overall instance responsiveness. If there are communications problems, this parameter's value can also cause a logjam on the MID Server, as threads normally used for running probes may become consumed for sending messages. Generally, leave this parameter out of your configuration. Setting it to true is meaningful only under very special circumstances.
  • Type: true | false
  • Default value: false
glide.mid.max.sender.queue.size Places an upper limit on how large the queue is allowed to get. The MID Server starts deleting queued messages if this limit is exceeded. When the MID Server generates messages to the ServiceNow instance faster than it can send them, it queues them temporarily on the file system of the MID Server's host. This queue is normally quite small, and is completely emptied as soon as the MID Server processing slows for a short period. However, this queue can grow in size when there are communication problems between the MID Server and the instance, and especially if there is an integration running on the MID Server.
The parameter is of the form {number}{multiplier}, where {number} is any positive decimal number including non-integers, and the optional multiplier is any spelling of bytes, kilobytes, megabytes, gigabytes, or terabytes (only the first character is tested, and the test is case-insensitive). The default multiplier is bytes. White space is liberally tolerated. The following strings all represent valid parameters: "1000000000", "0.5m", "5 GB", "7.67gigas", "145.69392 meg", and "1.1 terra".
  • Type: string
  • Default value: 0.5 GB
instance.date.format Specifies the format the instance uses for dates and times. The primary impact of setting this parameter is to allow the MID Server to correctly refresh its start and stop times on the MID Server record in ServiceNow. The format of this date/time string is identical to that used by the Java SimpleDateFormat class.
  • Type: string (Date format)
  • Default value: yyyy-MM-dd HH:mm:ss
mid.disable_amb Disables the Asynchronous Message Bus (AMB) Client. When AMB is enabled, the MID Server uses a default polling interval of 40 seconds. When the AMB client is disabled, the default polling interval switches to 5 seconds. If you set a polling interval with the mid.poll.time parameter, the MID Server uses that value whether or not the AMB client is enabled.
  • Type: true | false
  • Default value: false
mid.https.truststore.password Sets the trustStore password that is required for HTTPS connections with the Asynchronous Message Bus (AMB) Client.
  • Type: string
  • Default value: none
mid.https.truststore.path Path to the trustStore to be used by the MID Server for TLS transactions (Asynchronous Message Bus (AMB) Client). Add this parameter only if you want to change the default path.
  • Type: string
  • Default: Path to the JRE trustStore bundled with the MID Server
mid.jmx.enabled Enables a JMX server on the MID Server, which exposes some management information to JMX consoles. Implementing JMX requires additional configuration of the Java runtime environment. Setting this parameter to true is only recommended for those with detailed knowledge of the Java security architecture and a specific need for JMX.
  • Type: true | false
  • Default value: false
mid.poll.time Sets the default MID Server polling interval (in seconds). The polling interval is the amount of time the MID Server waits before checking the ECC queue for work when the ECC queue is not busy. The MID Server polls the ECC queue using this interval if the AMB client connection is dropped.
Note: The default polling interval resets to 5 seconds when the AMB client is disabled. If you configure the mid.poll.time parameter, the MID Server uses this polling interval whether or not the AMB client is connected.
  • Type: integer (seconds)
  • Default value: 40
threads.expedited.max Sets the maximum amount of expedited messages to queue in memory for processing. These requests are higher priority than background tasks, but do not receive an immediate response. This value is calculated based on the [threads.max] value; Do not change.
  • Type: integer (threads)
  • Default value: 4 (threads)
threads.interactive.max Sets the maximum amount of interactive messages to queue in memory for processing. These requests require an immediate response. This value is calculated based on the [threads.max] value; Do not change.
  • Type: integer (threads)
  • Default value: 4
threads.max Controls the number of execution threads (simultaneous work) that probes may use. This parameter provides direct control over what CPU resources the MID Server consumes on the computer that hosts it. To decrease the MID Server 's CPU consumption, lower the number of threads. To make the MID Server work faster, increase the number of threads. This value directly affects both the [threads.expedited.max] and [threads.interactive.max] values. See Set MID Server Thread Use.
  • Type: integer (threads)
  • Default value: 25

Credentials parameters

Names Description
mid.credentials.provider Specifies the Java class name of the credentials provider.
  • Type: string
  • Default value: com.service_now.mid.creds.standard.StandardCredentialsProvider
mid.secure_credentials.key_pairs.provider Class that the MID Server uses to generate secure key pairs.
  • Type: String
  • Default value: com.service_now.mid.keypairs.provider.standard.StandardKeyPairsProvider

Debug parameters

Names Description
debug.logging

[Deprecated] Specifies whether to enable logging of MID Server events and messages (both sent and received). Normally this parameter is only used by developers, but it is occasionally useful when troubleshooting a problem. Be aware that setting this parameter to true causes intensive logging on the MID Server, potentially using considerable disk space.

  • Type: True | False
  • Default value: false

This parameter has been replaced by the mid.log.level parameter.

debug

[Deprecated] Specifies whether to enable debug logging on the MID Server . Normally this parameter is only used by developers, but it is occasionally useful when troubleshooting a problem. Be aware that setting this parameter to true causes intensive logging on the MID Server , potentially using considerable disk space.

  • Type: True | False
  • Default value: false

This parameter has been replaced by the mid.log.level parameter.

file.probe.template.debug Specifies whether to debug file probe templates.
  • Type: True | False
  • Default: false
mid.cim.debug Specifies whether to enable debug logging for CIM, WBEM, SLP, or SMI-S.
  • Type: True | False
  • Default value: false
mid.ssh.debug Enables SSH debug information in the log file. The parameter usage depends on whether the ServiceNow SSH client is enabled.
When the ServiceNow SSH client is enabled, the parameter functions as follows:
  • Type: String
  • Default value: false

    The following string values are valid for the ServiceNow SSH client:

    • true: Enables SSH debug information in the log file.
    • false: Disables SSH debug information in the log file.
    • <IP Addresses>: Specify which IP ranges to enable SSH debug information in the log file. You can enter IP addresses in the following formats:
      • An IP range defined by a slash and the number of bits in the subnetwork. For example, the string 10.10.10.0/24 scans 24 bits of IP addresses from 10.10.10.0 to 10.10.10.254.
      • An IP range defined by a dash. For example, the string 10.10.11.0-10.10.11.165 scans the IP addresses from 10.10.11.0 to 10.10.11.165.
      • A comma-separated list of specific IP addresses. For example the string 10.10.11.200,10.10.11.235 scans the IP addresses 10.10.11.200 and 10.10.11.235.
    • deferred: Logs SSH debug information in memory unless an error or warning occurs. If an error or warning occurs, the platform publishes the debug information to the log file. This ensures that only the part of the log file pertaining to the error or warning is recorded. If no error or warning is detected, the platform deletes the unused log data from memory when the session closes. Each session stores up to 1000 log messages. If the session exceeds 1000 log messages, the deferred log discards the oldest log message to make room for the newest log message.
When the ServiceNow SSH client is disabled, the parameter enables or disables SSH debug information in the log file:
  • Type: True | False
  • Default value: false
mid.log.level Specifies the logging level for the MID Server. Possible values are:
  • debug
  • info
  • warn
  • error
Note: Values are case insensitive.
  • Type: String
  • Default value: info
mid.http.idle_connection_monitor.debug Enables debug logging for the Idle Connection Monitor.
  • Type: True | False
  • Default value: false

DNS parameters

Names Description
mid.dns_scan.regulator.internval_ms Specifies the interval between DNS scans in milliseconds.
  • Type: Integer
  • Default value: 10
mid.dns_scan.regulator.packets_per_interval Specifies the number of regulator packets per DNS scan.
  • Type: Integer
  • Default value: 1
mid.dns_scan.default_name_servers Specifies the host names or IP addresses of the default name servers.
  • Type: String
  • Default value: none
mid.dns_scan.additional_name_servers Specifies the host names or IP addresses of any additional name servers.
  • Type: String
  • Default value: none
mid.dns_scan.load_balancing_enable Specifies whether to enable load balancing of name servers.
  • Type: True | False
  • Default value: false

Event Management parameters

Name Description
mid.probe.event.bulk_size Specifies the maximum size of an event payload, in MB.
  • Type: Integer
  • Default value: 120
mid.probe.event.wait_time Waiting period on an empty queue for sending events.
  • Type: Integer
  • Default value: 1000
mid.probe.event.send.enabled Enables or disables the sending of events.
  • Type: True | False
  • Default value: true
mid.probe.event.queue.max_size Specifies the maximum size permitted for the event queue before incoming events are rejected.
  • Type: Integer
  • Default value: 100,000
mid.probe.event.queue.use_bulk Specifies whether events are sent to the server singly or in bulk. If this parameter evaluates to true then events are sent to the server in bulk.
  • Type: True | False
  • Default value: true
mid.probe.event.suppress.whitespaces Allows line breaks in description fields for multi-line events. Apply this parameter to each MID Server used with event connector instances. Choices are:
  • all
  • leave_as_is
  • keep_newline
  • Type: String
  • Default: all
mid.em.metric.metric_to_ci_map_limit Specifies the maximum number of active metrics allowed per CI map.
  • Type:
  • Default value: 200,000
mid.em.metric_binding_timeout_seconds Specifies the number of seconds to wait before resending unhandled events
  • Type: Integer
  • Default value: 300
mid.em.metric_binding_timeout_max_seconds Specifies the maximum number of seconds to wait before resending unhandled events.
  • Type: Integer
  • Default value: 10800
mid.em.metric_max_elapsed_time_before_refresh Specifies the maximum number of seconds before the metric source type cache is refreshed in memory.
  • Type: Integer
  • Default value: 60
mid.em.matric_max_sql_string_length_for_types Specifies the maximum length of the string (composed of types) used for an SQL command
  • Type: Integer
  • Default value: 30000
mid.em.statistics_report_perioon_sec Specifies the period, in seconds, between statistics reports to the instance. Use 0 to disable reporting. This parameter requires a restart.
  • Type: Integer
  • Default value: 60
mid.em.metric_connector_max_run_time_seconds Specifies the maximum number of seconds to collect metrics in every cycle.
  • Type: Integer
  • Default value: 300
mid.em.metric_connector_history_min Specifies the number of minutes to go back in history to retrieve metrics.
  • Type: Integer
  • Default value: 180
mid.em.metric_event_logging Specifies the level of metric and event logging. Choices are:
  • none
  • all
  • events
  • metrics
  • metrics:<filter>
  • events:<filter>
  • Type: String
  • Default value: none
mid.em.metric_connector_late_arrivals_delay Specifies the number of seconds to delay when collecting metrics.
  • Type: Integer
  • Default value: 30

FTP connection parameters

Name Description
mid.ftp.max_pool_size Specifies the maximum size of the FTP Connection Pool, in megabytes.
  • Type: Integer
  • Default value: 25
mid.ftp.max_per_target Specifies the maximum number of the FTP connections per target.
  • Type: Integer
  • Default value: 5
mid.ftp.max_conn_idle_time Specifies the maximum amount of time, in milliseconds, that an FTP connection can sit idle in the pool.
  • Type: Integer
  • Default value: 300000
mid.filesystem.max.ls Specifies the maximum number of files that can be returned in the filesystem list directory command.
  • Type: Integer
  • Default value: 10000

Logging parameters

Names Description
disable_monitors Specifies whether to disable the MID Server from actively checking for monitors on the instance.
  • Type: True | False
  • Default value: true
mid.show.queries Instructs the MID Server whether to log details about every query it makes to the ServiceNow instance. Typically this parameter is only used by developers, but it is occasionally useful when troubleshooting a problem. Be aware that setting this parameter to true causes intensive logging on the MID Server, potentially using considerable disk space.
  • Type: True | False
  • Default value: false
disable.remote.logging Prevents the MID Server from logging any information to the MID Server log on the instance. Relatively little information is logged on the instance in any case, but setting this parameter to true eliminates all logging to the instance.
  • Type: True | False
  • Default value: false
disable.status Prevents the MID Server from sending a status report to the instance every 10 minutes.
  • Type: True | False
  • Default value: false

Proxy server parameters

Names Description
mid.instance.use_proxy or mid.proxy.use_proxy If your MID Server must go through a web proxy to access the ServiceNow instance, set this parameter to true to instruct the MID Server to use the proxy. You must also set the proxy server's host and port, and perhaps the user name and password as well.
  • Type: True | False
  • Default value: false
mid.proxy.host If your MID Server must go through a web proxy to access the ServiceNow instance, set this parameter to define the proxy's host.
  • Type: String
  • Default value: none
mid.proxy.password If your MID Server must go through a web proxy to access the ServiceNow instance, and your proxy requires a password, set this parameter to define that password.
  • Type: String
  • Default value: none
mid.proxy.port If your MID Server must go through a web proxy to access the ServiceNow instance, set this parameter to define the proxy's port.
  • Type: Integer (0-65535)
  • Default value: 80
mid.proxy.username If the MID Server must go through a web proxy to access the ServiceNow instance, and the proxy requires a user name, set this parameter to define that user name.
  • Type: String
  • Default value: none

Shazzam parameters

Names Description
mid.shazzam.regulator.interval_ms Sets the interval, in milliseconds, in which Shazzam can launch packets. This parameter works with the mid.shazzam.regulator.packets_per_interval parameter to set the number of packets allowed in this interval. By default, Shazzam launches one packet each millisecond.
  • Type: Integer
  • Default value: 1
mid.shazzam.regulator.packets_per_interval Sets the number of packets that Shazzam can launch in the configured time interval. This parameter works with the mid.shazzam.regulator.interval_ms parameter, which sets that interval. By default, Shazzam launches one packet each millisecond.
  • Type: Integer
  • Default value: 1
mid.shazzam.chunk_size Specifies the maximum number of IP addresses that Shazzam scans in parallel. This parameter primarily controls outbound port consumption.
  • Type: Integer
  • Default value: 100

SNMP configuration parameters

Names Description
mid.snmp.enable_auto_public Specifies whether to use the SNMP public community string automatically if no other SNMP credentials were successful.
  • Type: True | False
  • Default value: true
mid.snmp.request.timeout Specifies the timeout value for the first OID request, in milliseconds. For subsequent requests (for example, table OIDs), the mid.snmp.session.timeout configuration parameter (see below) takes effect.
Note: You can override this parameter with the timeout SNMP probe parameter.
  • Type: Integer
  • Default value: 1500
mid.snmp.session.timeout Specifies the timeout value for subsequent OID request, in milliseconds. SNMP communication is stateless and does not have a session or connection in the normal sense. The system regards a positive response from the first OID request as a sign that it should expect prompt responses to subsequent requests. While the default is short, it may be useful to increase this parameter value to the same value as that used for mid.snmp.request.timeout.
Note: You can override this parameter with the establish_session_timeout SNMP probe parameter.
  • Type: Integer
  • Default value: 500
mid.snmp.use_getbulk Specifies whether to use GETBULK to receive a large amount of data in batches. This can be used to configure an individual MID Server. (This is available in version Madrid patch 2 and later.)
  • Type: True | False
  • Default value: true
GETBULK can also be set at the probe level or globally for all MID servers. Settings are listed in the order of precedence:
mid.snmp.use_snmp4j Use the Snmp4j library for SNMP communication. This is a strict requirement for SNMPv3. This parameter should only be set to false based on advice from customer support.
  • Type: True | False
  • Default value: true
mid.snmp.use_snmp_v1_v2c Attempt communication using these SNMP protocol versions. Requires configuration of SNMP community string credentials or the mid.snmp.enable_auto_public parameter set to true, as applicable for targeted devices.
  • Type: True | False
  • Default value: true
mid.snmp.use_snmp_v3 Attempt communication using the SNMPv3 protocol version. Requires configuration of SNMPv3 credentials.
  • Type: True | False
  • Default value: true

SSH Discovery parameters

By default, the MID Server is configured to search for SSH commands in the following paths and the logged-on user's default paths:
  • /usr/sbin
  • /usr/bin
  • /bin
  • /sbin
Names Description
mid.connection_cache Specifies whether to cache connections. Set to false to disable connection caching. This parameter applies to SSH connections only.
  • Type: true | false
  • Default value: true
mid.ssh.set_path Specifies whether to set the PATH environment variable for SSH commands.
  • Type: true | false
  • Default value: true
mid.ssh.local Specifies whether to execute commands for the MID Server host machine (localhost) via SSH rather than from a console. This allows long-running commands to execute properly. This parameter applies to the legacy SSH client only.
  • Type: true | false
  • Default value: false
mid.ssh_connections_per_host Controls the number of concurrent probes the MID Server can run against a given host. Lowering the number of concurrent connections can slow Discovery.
  • Type: integer
  • Default value:
    • 7 for the ServiceNow client
    • 3 for the legacy SSH client
mid.ssh.sudo_preserve_environment Specifies whether to use sudo to preserve the environment for SSH.
  • Type: true | false
  • Default value: false
mid.ssh.path_override Overrides the default paths set before executing a command. Enter one or more override paths delimited by a colon (:). The default path is /usr/sbin: /usr/bin: /bin: /sbin.
The ServiceNow SSH client accepts the following prefixes in front of the path_overide value.
  • append: Appends the override path to the end of the host’s path. This is the default behavior.
  • replace: Replaces the host path with the path_overide value.
  • prepend: Appends the override path to the front of the host path.
  • Type: string (a colon-separated list of directories)
  • Default value: None
mid.ssh.use_snc Enables the ServiceNow SSH client (SNCSSH) on individual MID Servers. SNCSSH is a ServiceNow implementation of an SSH client and is active by default for all MID Servers on new instances, via a MID Server property. Enabling the ServiceNow SSH client disables the legacy J2SSH client.
Important: Mixing SSH client types for MID Servers connected to the same instance is not a good practice.
  • Type: true | false
  • Default value: false
mid.ssh.max_retries Specifies the maximum amount of times to retry an SSH operation after a time-out. The system sleeps two seconds between each connection attempt. By default, the MID Server retries once only. Set the parameter to 0 to disable retries.
  • Type: integer
  • Default value: 1
mid.ssh.alt_rm Sets a different SSH remove file command.
  • Type: string
  • Default value: none
mid.ssh.initial_delay_ms Delays sending any SSH probe commands to a server after connecting to the target for the time specified, in milliseconds. This parameter applies to the legacy SSH client only.
  • Type: integer (milliseconds)
  • Default value: 0
mid.ssh.suppress_history Suppresses the generation of the SSH history file. This parameter applies to the legacy SSH client only.
  • Type: true | false
  • Default value: false
mid.ssh.socket_timeout Specifies the timeout value for the SSH socket to prevent issues created by a socket timeout. Some devices, such as systems with embedded controllers like UPSs and PDUs, that have SSH enabled require more time to respond to an authentication request. The default value of 2 minutes ensures such requests do not timeout prematurely.
  • Type: integer (milliseconds)
  • Default value: 120000 (2 minutes)
mid.ssh.channel_timeout Specifies the amount of time that the MID Server waits for activity on the SSH socket before closing the connection. If there has been no activity on the SSH socket for the specified timeout value, the MID Server closes the connection. Some devices, such as systems with embedded controllers like UPSs and PDUs, that have SSH enabled may require more time to respond to an authentication request.
  • Type: integer (milliseconds)
  • Default value: 120000 (2 minutes)
mid.ssh.session_timeout Specifies the amount of time that a cached session remains in memory after last use. Excessively small values tend to decrease performance. This parameter applies to the ServiceNow SSH client only.
  • Type: integer (milliseconds)
  • Default value: 300000 (5 minutes)
mid.ssh.command_timeout_ms The timeout duration, in milliseconds, for the execution of an SSH command.
  • Type: integer (milliseconds)
  • Default value: 300000 (5 minutes)
mid.ssh.use_keyboard_interactive Uses the keyboard interactive authentication mode in SSH daemons on which it is activated.
  • Type: true | false
  • Default value: false
Caution: An issue exists in Mac OS X Sierra and later with the authentication order of the password and keyboard-interactive modes that can cause Discovery to fail. For details about this issue and the configuration required for proper SSH authentication, see KB0623600.
mid.ssh.dh_group_length_min Specifies the minimum group length in bits used for generating a "shared secret" key in Diffie-Hillman key exchange. The larger the key the more secure the SSH connection is but at the cost of performance.
  • Type: integer (bits)
  • Default value: 1024
mid.ssh.dh_group_length_max Specifies the maximum group length in bits used for generating a "shared secret" key in Diffie-Hillman key exchange. The larger the key the more secure the SSH connection is but at the cost of performance.
  • Type: integer (bits)
  • Default value: 2048
mid.ssh.shells_supported Defines the bourne-compatible shells supported by the MID Server. This value is a comma-separated list of supported shells, such as ksh, dsh, bash and sh.
  • Type: string
  • Default value: ksh,bash,sh
mid.ssh.discard_lrc_error Discard long running command error output, emulating legacy behavior.
  • Type: String
  • Default value: j2ssh - true, sncssh - false
mid.ssh.pool_thread_ratio Ratio of the SSH session pool capacity to the configured MID Server thread number (threads.max), expressed as a percentage. The number of permitted pool capacity sessions is set in this parameter. Regardless of the value set in this parameter, the system never permits the pool capacity to fall below 25 sessions.
  • Type: Integer
  • Default value: 150
mid.ssh.disable_privilege_check This parameter has no effect if the target is using a privileged command other than "sudo." For more information, see MID Server privileged commands.

The remainder of this section only applies to targets which run sudo. When this parameter is set to true, the MID Server assumes that the user configured in the credential has the privilege to run the given command using sudo. The MID Server assumes the target user can run any command string following sudo on the target. When this parameter is set to false, the MID Server runs "sudo -l" on the target to verify the command which follows sudo has permission to run on the target. Regardless of this parameter's value, the MID Server always validates that "sudo" by itself can be run on the target.

Some releases do not show this parameter in the MID Configuration Parameters pull down list. In this case, you may optionally add this parameter in MID Properties.

  • Type: true | false
  • Default value: false

Upgrade parameters

Names Description
mid.pinned.version Name of the version to which this MID Server is pinned.
  • Type: string
  • Default value: MID buildstamp
    Note: To see the MID buildstamp for your instance, type stats.do in the navigation filter. An example of the buildstamp format is london-06-27-2018__patch3-10-24-2018_11-11-2018_0542.
mid.upgrade.use_proxy If your MID Server must go through a web proxy to access the upgrade URL, set this parameter to true to instruct the MID Server to use the proxy. You must also set the proxy server's host and port. If the instance proxy user name and password are set, they are used for the upgrade proxy as well.
  • Type: true | false
  • Default value: false
glide.mid.autoupgrade.proxy_host or glide.glidesoap.proxy_host If your MID Server must go through a web proxy to access the upgrade URL, define the proxy's host here.
  • Type: string (URL)
  • Default value: none
glide.mid.autoupgrade.proxy_port or glide.glidesoap.proxy_port If your MID Server must go through a web proxy to access the upgrade URL, define the proxy's port here.
  • Type: integer (0-65535)
  • Default value: 80
glide.mid.autoupgrade.proxy_user If your MID Server must go through a web proxy to access the upgrade URL, define the proxy's user name here.
  • Type: string (URL)
  • Default value: none
glide.mid.autoupgrade.proxy_password If your MID Server must go through a web proxy to access the upgrade URL, define the proxy's password here.
  • Type: string
  • Default value: none

Windows Discovery parameters

Name Description
mid.powershell_api.session_pool.max_size

Specifies the maximum number of sessions allowed in the session pool.

Note: Setting or changing this parameter requires restarting the MID Server.
  • Type: Integer
  • Default value: 25
mid.powershell_api.session_pool.target.max_size

Specifies the maximum number of sessions allowed in the pool per target host.

Note: Setting or changing this parameter requires restarting the MID Server.
  • Type: Integer
  • Default value: 2
mid.sa.prefer_powershell Enables MID Server to use PowerShell Remoting.
  • Type: True | False
  • Default value: false
mid.powershell_api_winrm.use_ssl Requires the use of SSL certificates for HTTPS connections using WinRM.
  • Type: True | False
  • Default value: false
mid.powershell_api_winrm.additional_pssesion_options Controls advanced options for a PSSession. For more information about advanced PSSession options, refer to https://docs.microsoft.com/en-us/powershell/module/microsoft.powershell.core/new-pssessionoption?view=powershell-6.
mid.powershell_api_winrm.remote_https_port Configures the port for connecting to Windows servers using PowerShell over HTTPS.
  • Type: Integer
  • Default value: 5986
mid.powershell_api_winrm.remote_port Configures the port for connecting to Windows servers using PowerShell over HTTP.
  • Type: Integer
  • Default value: 5985
mid.powershell_api_winrm.skip_ssl_cert_check Skips the SSL certificate check when using WinRM for HTTPS connections.
  • Type: True | False
  • Default value: false
mid.powershell_api_winrm.skip_ssl_cert_check_options Skips specific SSL certificate checks when using WinRM for HTTPS connections. Configure the MID Server to skip checks for certificates from a Certification Authority (CA), from the Common Name (CN) that identifies the host associated with the certificate, and for revoked certificates.
  • Type: String
  • Default value: -SkipCACheck -SkipCNCheck -SkipRevocationCheck
mid.powershell.use_credentials Determines the credentials to use for Discovery with PowerShell. A setting of true directs the MID Server to run probes with the Windows credentials from the credentials table. To run probes with the credentials of the user for the MID Server service, set this parameter to false.
  • Type: true | false
  • Default value: true
mid.use_powershell Enables or disables PowerShell for Discovery. Restart the MID Server after changing the value. If PowerShell is not installed or the version installed is less than version 2.0, Discovery reverts to using WMIRunner.
  • Type: true | false
  • Default value: true, in the Fuji release.
  • Default value: false, in releases prior to Fuji.
mid.powershell.path Enables an administrator to point to a specific PowerShell on a MID Server in cases where more than one PowerShell is installed. Supply the path to the folder containing the PowerShell executable, for example, C:\mypowershell or C:\mypowershell\. ServiceNow automatically appends the string powershell.exe to the path. Configure this parameter when both a 32-bit and 64-bit PowerShells are active on the same MID Server, and it becomes necessary to launch the correct PowerShell for the context. 64-bit Windows employs file system redirection and the MID Server runs as a 32-bit application. If trying to specify a path in %WinDir%\System32, Windows automatically redirects to %WinDir%\SysWOW64. To avoid redirection, specify the path as %WinDir%\Sysnative. For example, instead of C:\WINDOWS\system32\WindowsPowerShell\v1.0\, specify C:\WINDOWS\sysnative\WindowsPowerShell\v1.0\.
Note: On a 64-bit version of Windows XP, a Microsoft hotfix may be required to enable this.

To discover applications running on a 64-bit Windows machine, the MID Server must be running on a 64-bit Windows host machine.

  • Type: string (path)
  • Default value: none
mid.powershell.enforce_utf8 Enable this parameter to force commands on a target Windows system to return UTF-8 encoded output. Disabling it allows the target system to use its default encoding. This parameter is only valid when PowerShell is enabled.

Setting this value to false may result in incorrect values in the CMDB when non-ASCII characters are returned by a probe.

  • Type: true | false
  • Default value: true
mid.powershell.local_mid_service_credential_fallback Specifies the login credentials the MID Server uses if all other credentials fail.
  • Type: True | False
  • Default value: true
mid.powershell_api.idle_session_timeout

Specifies the timeout value of idle PowerShell sessions in seconds.

Note: Setting or changing this parameter requires restarting the MID Server.
  • Type: Integer
  • Default value: 60
mid.powershell.command.parameter_passing Enable this parameter to allow passing PowerShell parameters from the command line.
  • Type: True | False
  • Default value: false
mid.powershell.command.script.parameter_passing Enable this parameter to allow passing PowerShell scripts from the command line.
  • Type: True | False
  • Default value: true
mid.windows.management_protocol
Enables administrators to select the Windows management protocol used for device and process classification. Options include:
  • WMI
  • WinRM
  • Type: String
  • Default value: WMI
mid.windows.probe_timeout Sets the timeout interval for all Windows probes on a specific MID Server. This value is overridden by the values configured for individual probes with the wmi_timeout probe parameter.
  • Type: Integer
  • Default value: 300

Pattern parameters

Table 1.
Name Description
mid.parsing.max_field_size

Sets the maximum character length of strings stored as temporary variables while patterns are run. Strings longer than this parameter's value are truncated to equal the value. Use the parameter to increase the limit when parsing longer strings.

Warning: Exceeding the max field size limits of the SQL database implementation cause errors.
  • Type: Integer
  • Default value: 1024
Feedback