RMT Server Configuration File

This topic describes the configuration options you can use using the configuration file. To do this using the web interface, see Resource Monitoring Tool Server Configuration.

In an effort to align with our company values of Equality, we have changed non-inclusive terminology where possible. Because changing terms in certain places can cause a breaking change, we maintain the existing terminology. So, you may continue to see the terms in CLI commands and options, installation folders, configuration files and other instances. For more information, see About Tableau Help(Link opens in a new window).

The configuration file is located at %PROGRAMFILES%\Tableau\Tableau Resource Monitoring Tool\master\config\config.json. This path may vary depending on your installation.

Note: Configuration values are saved in the configuration file. Changes can be made directly to this file, but it is advised to leverage the configuration options in the UI and through the rmtadmin command line utility. Changes to the config file will require a restart to be applied.

You will need to restart the RMT Server after making changes to the configuration file.

Data Retention

By default the Resource Monitoring Tool stores two weeks of detail data and ten years of aggregated reporting data.

This is configurable. Here is an example snippet defining the data retention settings:

SMTP Configuration

An example config.json snippet defining the SMTP information:

The full list of configuration values available in the smtp configuration section:

KeyData TypeRequired?Description
serverStringOptionalThe SMTP server to use. Default value: localhost
portNumberOptionalThe SMTP server’s port number. Default value: 25
usernameStringOptionalThe username to use if authentication is required by the server.
passwordStringOptionalThe password to use if authentication is required by the server.
requireSSLBooleanOptionaltrue if your SMTP server requires SSL, otherwise false. Default value: false

Notification Configuration

An example config.json snippet defining the notification information:

Global notification information (as shown above) can be overridden per environment in the environments section:

The full list of configuration values available in the notifications.email configuration section:

KeyData TypeRequired?Description
fromStringRequiredThe sender’s email address.
toStringRequiredThe recipient email address(es). Multiple addresses must be separated by commas or semicolons.
minimumIncidentSeverityStringOptionalThe minimum incident severity at which emails will be sent. Default value: critical. Also see Tableau Resource Monitoring Tool - Incidents.

Histogram Configuration

The boundaries used to generate histograms in the web interface are configurable, using an array of values that represent each boundary.

The full list of configurable histograms in the monitoring.histograms section:

KeyData TypeRequired?Description
viewLoadDurationArray of NumbersOptionalThe histogram boundaries for view loads. Values are in milliseconds. Default value: [1000, 3000, 6000, 10000]
externalDataRequestDurationArray of NumbersOptionalThe histogram boundaries for external data requests. Values are in milliseconds. Default value: [1000, 3000, 6000, 10000]
backgroundTaskDurationArray of NumbersOptionalThe histogram boundaries for background tasks. Values are in milliseconds. Default value: [60000, 300000, 600000, 1800000]

As an example, to use the following histogram buckets for everything at a global level:

  • ≤ 1 second
  • > 1 second and ≤ 10 seconds
  • > 10 seconds and ≤ 30 seconds
  • > 30 seconds

The configuration would look like:

Histogram boundaries can also be set per environment. As an example, for an environment whose identifier is “staging-environment” to use the following view histogram buckets:

  • ≤ 2.5 seconds
  • > 2.5 seconds and ≤ 5 seconds
  • > 5 seconds and ≤ 30 seconds
  • > 30 seconds and ≤ 1 minute
  • > 1 minute and ≤ 10 minutes
  • > 10 minutes

The configuration would look like:

The “staging-environment” would fall back to the global histogram configuration for background tasks.

Minimum TLS Version

By default, RMT will use a secure version of TLS to encrypt traffic. The default minimum version is 1.2, but if you have specific security requirements that mandate that older versions of TLS be disabled, you can modify the server.minimumTlsVersion section of the configuration file to enforce a minimum TLS version, as shown in the example snippet below where the minimum version is set to 1.3. The list of valid values for minimumTlsVersion are defined in SslProtocols from .Net Core(Link opens in a new window).

Incident Configuration

See Incidents for information on what incident options are available and how to configure them.

Agent

The agent service’s configuration file is located at %PROGRAMFILES%\Tableau\Tableau Resource Monitoring Tool\agent\config\config.json. This path may vary depending on your installation.

You will need to restart the agent service after making changes to the config file.

Tableau Server Detection

In almost all situations agents will automatically detect the Tableau Server installation and no configuration is needed beyond the standard agent setup process. If desired, you can however manually configure the Tableau Server information through the config.json file.

An example config.json snippet defining the Tableau Server information needed to run the agent:

The full list of configuration values available in the agent.tableauServer configuration section:

KeyData TypeRequired?Description
applicationDirectoryStringRequiredThe Tableau Server application root directory.
dataDirectoryStringOptionalThe directory to get Tableau Server data files.
overrideBooleanOptionaltrue to have the configuration values take precedent over any automatically detected values. false to have the configuration values act as a fallback to the automatically detected values.
productVersionNumberRequiredThe version number of the Tableau Server.

Agent Logging

See Tableau Resource Monitoring Tool Log Files.

Common

Common configuration values are available in both RMT Server and Agent applications. See application-specific sections for guidance on locating the configuration file.

You will need to restart the application service after making changes to the config file.

Encrypted Messaging

To enable encrypted messaging, the RabbitMQ server must be first configured to allow TLS. See the Encrypted Data Collection administrator guide for more details.

When configuring the RMT Server or Agent(s) for encrypted messaging:

  • Both the enabled flag and the certificateHostName must be configured for encryption to be enabled.
  • The certificateHostName variable MUST match the canonical name (CN=) on the server certificate or the connection will fail.
  • The port setting in the mq section will likely need to be changed based on the TLS port you configured RabbitMQ.

The full list of configuration values available in the mq.tls configuration section:

KeyData TypeRequired?Description
enabledBooleanOptionaltrue enables TLS encryption for messaging connections. false uses unencrypted connections for messaging. Default value: false
certificateHostNameStringOptionalcertificateHostName MUST match the canonical name (CN=) of the server certificate or the connection will fail. Default value: ""

Who can do this

Resource Monitoring Tool Administrator or a Resource Monitoring Tool user with Server/Environment Management role.

Thanks for your feedback!Your feedback has been successfully submitted. Thank you!