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 causing 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:
{
"smtp": {
"server": "localhost",
"port": 25,
"username": "my-username",
"password": "my-password",
"requireSSL": true
}
}
The full list of configuration values available in the smtp
configuration section:
Key | Data Type | Required? | Description |
---|---|---|---|
server
|
String | Optional | The SMTP server to use. Default value: localhost |
port
|
Number | Optional | The SMTP server’s port number. Default value: 25 |
username
|
String | Optional | The username to use if authentication is required by the server. |
password
|
String | Optional | The password to use if authentication is required by the server. |
requireSSL
|
Boolean | Optional | true if your SMTP server requires SSL, otherwise false . Default value: false |
Notification Configuration
An example config.json
snippet defining the notification information:
{
"notifications": {
"email": {
"from": "sender@domain.com",
"to": "recipient1@domain.com,recipient2@domain.com"
}
}
}
Global notification information (as shown above) can be overridden per environment in the environments
section:
{
"environments": {
"Environment1": {
"notifications": {
"email": {
"from": "sender@domain.com",
"to": "recipient1@domain.com,recipient2@domain.com"
}
}
}
}
}
The full list of configuration values available in the notifications.email
configuration section:
Key | Data Type | Required? | Description |
---|---|---|---|
from
|
String | Required | The sender’s email address. |
to
|
String | Required | The recipient email address(es). Multiple addresses must be separated by commas or semicolons. |
minimumIncidentSeverity
|
String | Optional | The 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:
Key | Data Type | Required? | Description |
---|---|---|---|
viewLoadDuration
|
Array of Numbers | Optional | The histogram boundaries for view loads. Values are in milliseconds. Default value: [1000, 3000, 6000, 10000] |
externalDataRequestDuration
|
Array of Numbers | Optional | The histogram boundaries for external data requests. Values are in milliseconds. Default value: [1000, 3000, 6000, 10000] |
backgroundTaskDuration
|
Array of Numbers | Optional | The 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:
{
"monitoring": {
"histograms": {
"viewLoadDuration": [1000, 10000, 30000],
"externalDataRequestDuration": [1000, 10000, 30000],
"backgroundTaskDuration": [1000, 10000, 30000]
}
}
}
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:
{
"environments": {
"staging-environment": {
"monitoring": {
"histograms": {
"viewLoadDuration": [2500, 5000, 30000, 60000, 600000]
}
}
}
}
}
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.
RMT ServerLogging
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:
{
"agent": {
"tableauServer": {
"override": true,
"productVersion": 2021.4,
"applicationDirectory": "C:\\Tableau\\Tableau Server\\2021.4"
}
}
}
Backslashes should be escaped as shown above for the JSON format.
The full list of configuration values available in the agent.tableauServer
configuration section:
Key | Data Type | Required? | Description |
---|---|---|---|
applicationDirectory
|
String | Required | The Tableau Server application root directory. |
dataDirectory
|
String | Optional | The directory to get Tableau Server data files. |
override
|
Boolean | Optional | true 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. |
productVersion
|
Number | Required | The 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 thecertificateHostName
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 themq
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:
Key | Data Type | Required? | Description |
---|---|---|---|
enabled
|
Boolean | Optional | true enables TLS encryption for messaging connections. false uses unencrypted connections for messaging. Default value: false |
certificateHostName
|
String | Optional | certificateHostName 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.