Files
doc-exports/docs/ces/umn/ces_faq_0128.html
qiujiandong1 c1d4f578e7 CES UMN 20250530 version
Reviewed-by: Rumpler, Mihály <mihaly.rumpler@t-systems.com>
Co-authored-by: qiujiandong1 <qiujiandong1@huawei.com>
Co-committed-by: qiujiandong1 <qiujiandong1@huawei.com>
2025-11-18 06:22:57 +00:00

4.9 KiB

How Do I Change the Process Collection Frequency by Modifying the Configuration File?

The following describes how to modify the configuration file to change the process collection frequency.

This operation applies only to Agent 2.7.2 or later.

Linux

  1. Log in to a server as user root.
  2. Modify the configuration file.

    cd /usr/local/uniagent/extension/install/telescope/conf && vi custom_conf.json

    Enter the following configuration content in {} to change the number of processes updated per minute. The calculation method is as follows: (${telescope.metric.proc.flush_metric_batch_size} x ${telescope.metric.proc.flush_metric_period})/60

    "telescope.metric.proc.flush_metric_batch_size":"num1",
    "telescope.metric.proc.flush_metric_period":"num2"

    Configurations for updating 50 processes per minute

  3. Restart the Agent.

    service ces-uniagent stop
    service ces-uniagent start
    /usr/local/uniagent/extension/install/telescope/telescoped restart

Windows

  1. Log in to a server.
  2. Modify the custom_conf.json configuration file in C:\Program Files\uniagent\extension\install\telescope\conf to change the number of processes updated per minute. The calculation method is as follows: (${telescope.metric.proc.flush_metric_batch_size} x ${telescope.metric.proc.flush_metric_period})/60

    Example: If you want to update 50 processes every minute, enter the following content in {}:

    "telescope.metric.proc.flush_metric_batch_size":"50",
    "telescope.metric.proc.flush_metric_period":"60"

  3. In the C:\Program Files\uniagent\extension\install\telescope directory, restart the Agent.

    1. Double-click shutdown.bat to stop the Agent process.
    2. Double-click start.bat to start the Agent process.