Skip to content

Commit cdf060e

Browse files
zuobiao-zhouCalvin979tomsun28yuluo-yxAias00
authored
[Optimize] Add a reminder about potential collection issues caused by the Docker deployment method of collector. (apache#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]>
1 parent 1280c61 commit cdf060e

File tree

4 files changed

+4
-0
lines changed

4 files changed

+4
-0
lines changed

home/docs/help/linux_script.md

+1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ keywords: [open source monitoring system, open source network monitoring, using
88
### Preparation
99

1010
> 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.
11+
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.
1112
> When creating a monitoring task and selecting a collector, choose the corresponding collector deployed on the target host.
1213
1314
### Configuration Parameters

home/docs/help/windows_script.md

+1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ keywords: [open source monitoring system, open source network monitoring, using
88
### Preparation
99

1010
> 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.
11+
> 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.
1112
> When creating a monitoring task and selecting a collector, choose the corresponding collector deployed on the target host.
1213
1314
### Configuration Parameters

home/i18n/zh-cn/docusaurus-plugin-content-docs/current/help/linux_script.md

+1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ keywords: [开源监控系统, 开源网络监控, 使用脚本监控 Linux 操
88
### 准备工作
99

1010
> 若要监控本机,部署 Hertzbeat 即可,若要监控其他主机,需在目标主机上部署采集器,部署采集器可参考[此链接](https://github.com/apache/hertzbeat?tab=readme-ov-file#2install-via-package)的第 5 步。
11+
> 如果使用 Docker 安装采集器,则会导致采集器监控不到宿主机上的进程信息,因为 Docker 容器在一个独立的环境中运行,每个容器都有自己的进程空间。
1112
> 在创建监控任务选择采集器时,需选择目标主机上对应的采集器。
1213
1314
### 配置参数

home/i18n/zh-cn/docusaurus-plugin-content-docs/current/help/windows_script.md

+1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ keywords: [开源监控系统, 开源网络监控, 使用脚本监控 Windows
88
### 准备工作
99

1010
> 若要监控本机,部署 Hertzbeat 即可,若要监控其他主机,需在目标主机上部署采集器,部署采集器可参考[此链接](https://github.com/apache/hertzbeat?tab=readme-ov-file#2install-via-package)的第 5 步。
11+
> 如果使用 Docker 安装采集器,则会导致采集器监控不到宿主机上的进程信息,因为 Docker 容器在一个独立的环境中运行,每个容器都有自己的进程空间。
1112
> 在创建监控任务选择采集器时,需选择目标主机上对应的采集器。
1213
1314
### 配置参数

0 commit comments

Comments
 (0)