Download PDF
Download page Machine Agent Settings for Server Visibility.
Machine Agent Settings for Server Visibility
You can modify the default configuration for Server Visibility. This page describes the configurable settings and their default values.
Edit this configuration file: <machine-agent-home>/extensions/ServerMonitoring/conf/ServerMonitoring.yml
Edit YML Files
When editing YML files:
- If you make any changes to
ServerMonitoring.yml
, or to any otherYML
file, make sure that the modified file meets standardYML
syntax rules.
Follow these importantYML
good practices:- Do not include any tab characters. Use whitespace characters only to indent fields.
- Use the exact same number of whitespace characters to indent entries that are on the same level.
- Use a plain-text editor, not a WYSIWIG editor, to edit the file. Use a monowidth/monospaced font to view the contents.
- Always save using UTF-8 encoding.
- Test and verify the edited file using an online
YML
syntax tester.
- The safest way to edit a setting in a
YML
file is to:- Copy the line you want to edit, and paste the copy into a new line. Make sure that you select, copy, and paste the entire line.
- Comment out the original line and edit the copy, as desired.
- To add or edit a regular expression in this file, you should test and verify the regular expression using an online regex tester.
- Before you make any changes to this file, review the option descriptions on this page, and the comments in the file, carefully before you change a setting.
- The Agent updates dynamically in response to Agent configuration property changes, so you do not need to restart the Agent after you update this file.
Configurable Server Visibility Settings
Setting | Description |
---|---|
| Indicates whether the Machine Agent should report the basic metrics through the SIM extension. Set this to Default = |
| Do not report more than N volumes, where N = Default = 5 Changing this setting can affect the resource consumption of your deployment. Before you increase this setting, verify that your application environment and Controller can process the increased resource requirements. |
| Volumes with names that match this regular expression are always reported, up to the maximum specified by Default = "" |
| Volumes with names that match this regular expression are excluded. This setting is useful for filtering out irrelevant metrics. If a volume name matches both the blocklist and allowlist regexes, metrics for that network are reported (the allowlist takes priority) up to the maximum specified by The default |
| Specifies a custom sampling interval for collecting volume metrics on Linux. Default = 3000 |
| Do not report more than N networks, where N = Default = 5 Changing this setting can affect the resource consumption of your deployment. Before you increase this setting, verify that your application environment and Controller can handle the increased resource requirements. |
| Networks with names that match this regular expression are always reported, up to the maximum specified by To report metrics for one or more virtual networks, specify a regex that matches the virtual network names. When collecting Process metrics on Solaris, the Machine Agent observes and captures only the first 80 characters of each process name and argument list. This means that the Agent considers only the first 80 characters of each process string when it applies allowlists. Default = "" |
| Networks with names that match this regular expression are excluded. This setting is useful for filtering out irrelevant metrics. If a network name matches both the blocklist and allowlist regexes, metrics for that network are reported (the allowlist takes priority) up to the maximum specified by The default regex excludes virtual networks. To monitor a set of one or more virtual networks, edit When collecting Process metrics on Solaris, the Machine Agent observes and captures only the first 80 characters of each process name and argument list. This means that the Agent considers only the first 80 characters of each process string when it applies blocklists. Default = "^veth.*|^vnet.*" |
| The default "class selector" based on a Default = "" |
| A list of For example:
The Machine Agent assigns a process to a class as follows:
These steps outline the recommended workflow for updating this list:
|
| Indicates how often to gather metric data. Units in milliseconds. Default = 30000 (30 seconds) |
| Specifies the maximum process class name length. Any process class name that is longer than the specified maximum is truncated. The global maximum of the process class name is 100. If this variable is set to be greater than 100, then the process name is truncated at 100. Default = 50 |
| Contains a regular expression that specifies which processes should be monitored by the Machine Agent. The regular expression is compared against the full command line that was used to start the process. The default regular expression will filter out any processes where the command line ends with a close bracket (']'). For Linux, the process arguments could not be found, which usually indicates a kernel process. For Windows, no processes should end with a bracket character, so the regex should include all processes on Windows. Default = ""^.+[^]]$"" |
| Specifies the minimum amount of time a process must be alive before it is monitored by the Machine Agent. Use this to prevent the Machine Agent from being overloaded by monitoring short-lived processes. Units in milliseconds. Default = 60000 (60 seconds) |
| Specifies the maximum number of process classes that the Machine Agent monitors. The processes that are reported are using the highest CPU and memory that match the regex specified by Default = 20 Changing this setting can affect the resource consumption of your deployment. Before you change this setting verify your application environment and Controller can process the increased resource requirements. |
defaultDiskSectorSize | Specifies the default sector size (in bytes) for each disk if the Machine Agent cannot determine the sector size. This value is used to calculate the number of bytes read/written for the disk. Default = 512 |
memoryMonitorConfig | Specifies a custom sampling interval for collecting memory metrics on Linux. Default = 3000 |
| Specifies a custom sampling interval for collecting CPU metrics on Linux. Default = 3000 |
tag | A list of user-defined tags for the individual server. Use these tags to query, filter, aggregate, and compare related servers. See Server Tagging Each tag is specified by a key-value pair. You can define tag names up to 127 unicode characters, and tag values up to 255 unicode characters. Define each key on a separate line. All key-value strings should be within single quotes. If a key has multiple values, delineate the list with commas:<key>: [ <value> ] tags: 'Location': ['NYC', 'Data Center', 'Server Room 7'] 'Environment': ['preProduction'] |
Docker Visibility Settings
See Configure Docker Visibility.
Process Limits
These additional configurable settings are available in the Controller Admin UI:
Total number of processes displayed in the UI for a single query is 5000 processes per call.
Total number of processes tracked per account. The default value is 10000 processes per account.