For the complete documentation index, see llms.txt. This page is also available as Markdown.

主机监控数据

简介

input_host_monitor 插件定期采集宿主机的 CPU、内存、磁盘、网络、系统负载、进程等监控指标。

源代码:InputHostMonitor.cpp

事件能力

列含义见 概览 · 事件能力列说明

Log
Metric
Span

版本

Beta

版本说明

  • 推荐版本:LoongCollector v3.3.2 及以上

配置参数

参数
类型
必填
默认值
说明

Type

string

/

固定为 input_host_monitor

Interval

uint

15

采集周期(秒)。最小 5 秒,小于 5 时按 5 处理。

EnableCPU

bool

true

是否启用 CPU 指标采集

EnableSystem

bool

true

是否启用系统负载等指标采集

EnableMemory

bool

true

是否启用内存指标采集

EnableDisk

bool

true

是否启用磁盘指标采集

EnableProcess

bool

true

是否启用进程指标采集

EnableNet

bool

true

是否启用网络指标采集

样例

Last updated