This is an automated email from the ASF dual-hosted git repository.

gongchao pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/hertzbeat.git


The following commit(s) were added to refs/heads/master by this push:
     new cdf060e9a [Optimize] Add a reminder about potential collection issues 
caused by the Docker deployment method of collector. (#2844)
cdf060e9a is described below

commit cdf060e9accc7438db019f818c476e77b26f0dfa
Author: Zhang Yuxuan <[email protected]>
AuthorDate: Thu Dec 12 20:51:02 2024 +0800

    [Optimize] Add a reminder about potential collection issues caused by the 
Docker deployment method of collector. (#2844)
    
    Co-authored-by: Calvin <[email protected]>
    Co-authored-by: tomsun28 <[email protected]>
    Co-authored-by: shown <[email protected]>
    Co-authored-by: aias00 <[email protected]>
---
 home/docs/help/linux_script.md                                           | 1 +
 home/docs/help/windows_script.md                                         | 1 +
 .../zh-cn/docusaurus-plugin-content-docs/current/help/linux_script.md    | 1 +
 .../zh-cn/docusaurus-plugin-content-docs/current/help/windows_script.md  | 1 +
 4 files changed, 4 insertions(+)

diff --git a/home/docs/help/linux_script.md b/home/docs/help/linux_script.md
index fcb9c4f09..46cd2ea66 100644
--- a/home/docs/help/linux_script.md
+++ b/home/docs/help/linux_script.md
@@ -8,6 +8,7 @@ keywords: [open source monitoring system, open source network 
monitoring, using
 ### Preparation
 
 > To monitor the local machine, simply deploy Hertzbeat. To monitor other 
 > hosts, you need to deploy a collector on the target host. Refer to [this 
 > link](https://github.com/apache/hertzbeat?tab=readme-ov-file#2install-via-package)
 >  for step 5 of the installation process.
+If the collector is installed using Docker, it will cause the collector to be 
unable to monitor the process information on the host machine, because Docker 
containers run in an isolated environment, with each container having its own 
process space.
 > When creating a monitoring task and selecting a collector, choose the 
 > corresponding collector deployed on the target host.
 
 ### Configuration Parameters
diff --git a/home/docs/help/windows_script.md b/home/docs/help/windows_script.md
index bf80e972e..3aaefd738 100644
--- a/home/docs/help/windows_script.md
+++ b/home/docs/help/windows_script.md
@@ -8,6 +8,7 @@ keywords: [open source monitoring system, open source network 
monitoring, using
 ### Preparation
 
 > To monitor the local machine, simply deploy Hertzbeat. To monitor other 
 > hosts, you need to deploy a collector on the target host. Refer to [this 
 > link](https://github.com/apache/hertzbeat?tab=readme-ov-file#2install-via-package)
 >  for step 5 of the installation process.
+> If the collector is installed using Docker, it will cause the collector to 
be unable to monitor the process information on the host machine, because 
Docker containers run in an isolated environment, with each container having 
its own process space.
 > When creating a monitoring task and selecting a collector, choose the 
 > corresponding collector deployed on the target host.
 
 ### Configuration Parameters
diff --git 
a/home/i18n/zh-cn/docusaurus-plugin-content-docs/current/help/linux_script.md 
b/home/i18n/zh-cn/docusaurus-plugin-content-docs/current/help/linux_script.md
index 7a722e414..ca224edb3 100644
--- 
a/home/i18n/zh-cn/docusaurus-plugin-content-docs/current/help/linux_script.md
+++ 
b/home/i18n/zh-cn/docusaurus-plugin-content-docs/current/help/linux_script.md
@@ -8,6 +8,7 @@ keywords: [开源监控系统, 开源网络监控, 使用脚本监控 Linux 操
 ### 准备工作
 
 > 若要监控本机,部署 Hertzbeat 
 > 即可,若要监控其他主机,需在目标主机上部署采集器,部署采集器可参考[此链接](https://github.com/apache/hertzbeat?tab=readme-ov-file#2install-via-package)的第
 >  5 步。
+> 如果使用 Docker 安装采集器,则会导致采集器监控不到宿主机上的进程信息,因为 Docker 容器在一个独立的环境中运行,每个容器都有自己的进程空间。
 > 在创建监控任务选择采集器时,需选择目标主机上对应的采集器。
 
 ### 配置参数
diff --git 
a/home/i18n/zh-cn/docusaurus-plugin-content-docs/current/help/windows_script.md 
b/home/i18n/zh-cn/docusaurus-plugin-content-docs/current/help/windows_script.md
index 38abacad6..d469b0359 100644
--- 
a/home/i18n/zh-cn/docusaurus-plugin-content-docs/current/help/windows_script.md
+++ 
b/home/i18n/zh-cn/docusaurus-plugin-content-docs/current/help/windows_script.md
@@ -8,6 +8,7 @@ keywords: [开源监控系统, 开源网络监控, 使用脚本监控 Windows 
 ### 准备工作
 
 > 若要监控本机,部署 Hertzbeat 
 > 即可,若要监控其他主机,需在目标主机上部署采集器,部署采集器可参考[此链接](https://github.com/apache/hertzbeat?tab=readme-ov-file#2install-via-package)的第
 >  5 步。
+> 如果使用 Docker 安装采集器,则会导致采集器监控不到宿主机上的进程信息,因为 Docker 容器在一个独立的环境中运行,每个容器都有自己的进程空间。
 > 在创建监控任务选择采集器时,需选择目标主机上对应的采集器。
 
 ### 配置参数


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to