cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Is it possible to modify inclusions or exclusions for Host Metrics without restarting PSM?

Is it possible to modify inclusions or exclusions for Host Metrics without restarting PSM?

Is it possible to modify inclusions or exclusions for Host Metrics without restarting PSM?

According to the following dynaTrace document, it could edit the System Profile to modify the inclusions or exclusions for host metrics. But it must do it when Dynatrace Server is stopped and then restart it.

This is extremely inconvenient for the customer who is not allowed to restart PSM frequently. E.g., one of the customer has the following scenario:

  • The PSM server is monitoring multiple servers for multiple PTC products (Windchill, Integrity, etc.)
  • The customer needs to include/exclude some disks from monitoring frequently, because different servers frequently have storage related modification.
  • Stopping PSM server will affect monitoring for all PTC products.

Host Health Monitoring - Dynatrace 6.1 - Dynatrace Community

Inclusions or Exclusions for Host Metrics

To exclude specific disks from monitoring (or explicitly include disks that would otherwise be excluded), edit the specific System Profile file (DT_HOME/server/conf/profiles/<profileName>.profile.xml), where these properties are persisted.

Stop the Dynatrace Server before you edit the System Profile, so the changes don´t get overwritten. You must restart to apply the changes.

<systemprofile ...>

    <genericagentproperties>

      <property value="disk(linux,*,/tmp); disk(linux,*,/var/tmp);disk(linux,*,/run); disk(linux,*,/var/run)" key="hostmetrics.inclusions" />

      <property value="disk(linux,tmpfs,*); disk(linux,*,/dev); disk(linux,cgroup,*); disk(linux,debugfs,*); nic(solaris,mac)" key="hostmetrics.exclusions" />

    </genericagentproperties>

</systemprofile>

The above also shows the default inclusions and exclusions.

3 Comments
ftan
1-Newbie


举例:如能在psm的配置界面直接输入要监控的最新目录,在psm不用重启的前提下,使得监控生效。

BrentLi
18-Opal

Translation:

举例:如能在psm的配置界面直接输入要监控的最新目录,在psm不用重启的前提下,使得监控生效。

->

For example, it will be great if it is allowed to input/select the disks which need to be monitored without restarting PSM server.

olivierlp
Community Manager
Status changed to: Archived

Hello,

We are archiving your idea as part of a general review. This action is based on the age of your idea and the total number of votes received, as per this announcement.

You can always post a new idea with all the details required in the form.

Thank you for your participation.