yuluo-yx commented on code in PR #2646: URL: https://github.com/apache/hertzbeat/pull/2646#discussion_r1740110344
########## home/i18n/zh-cn/docusaurus-plugin-content-docs/current/help/linux_script.md: ########## @@ -0,0 +1,101 @@ +--- +id: linux_script +title: 监控:使用脚本监控 Linux 操作系统 +sidebar_label: 使用脚本监控 Linux 操作系统 +keywords: [开源监控系统, 开源网络监控, 使用脚本监控 Linux 操作系统] +--- + +### 准备工作 + +> 若要监控本机,部署 Hertzbeat 即可,若要监控其他主机,需在目标主机上部署采集器,部署采集器可参考[此链接](https://github.com/apache/hertzbeat?tab=readme-ov-file#2install-via-package)的第 5 步。 +> 在创建监控任务选择采集器时,需选择目标主机上对应的采集器。 + +### 配置参数 + +| 参数名称 | 参数帮助描述 | +|:-------|---------------------------------|---| +| 监控Host | 被监控的对端IPV4,IPV6或域名。注意⚠️不带协议头(eg: https://, http://)。 | +| 任务名称 | 标识此监控的名称,名称需要保证唯一性。 | | +| 采集器 | 配置此监控使用哪台采集器调度采集。 | +| 监控周期 | 监控周期性采集数据间隔时间,单位秒。 | +| 绑定标签 | 对监控资源的分类管理标签。 | +| 描述备注 | 更多标识和描述此监控的备注信息,用户可以在这里备注信息。 | + +### 采集指标 + +#### 指标集合:basic + +| 指标名称 | 指标单位 | 指标帮助描述 | +|----------|------|--------| +| hostname | 无 | 主机名称 | +| version | 无 | 操作系统版本 | +| uptime | 无 | 系统启动时间 | + +#### 指标集合:cpu + +| 指标名称 | 指标单位 | 指标帮助描述 | +|----------------|------|--------------------| +| info | 无 | CPU型号 | Review Comment: ditto -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
