Skip to main content

Mô tả

Probe process_mon kiểm tra process đang chạy trên host, đếm số lượng và tùy chọn thu thập CPU/memory aggregate hoặc per-process detail. Matching theo tên process (glob, case-insensitive) và tùy chọn executable path. Yêu cầu platform adapter ProcessAdapter.

Config fields

Metrics

Ví dụ config

Kiểm tra nginx chạy ít nhất 1 process:
Per-process detail cho Java app:

Lưu ý

  • commandLinePattern regex đã bị loại bỏ — dùng processName glob thay thế.
  • Khi collectPerProcess = true và số process match vượt maxProcesses, chỉ giữ các process có CPU% cao nhất.
  • Per-process detail cần platform adapter — trên một số OS hoặc user khác, một số field (CPU, memory, disk I/O) có thể trả về 0 nếu thiếu quyền.