Mô tả
Probeconnection đọc bảng connection của host (không mở connection mới) và đếm số entry match các filter được cấu hình. Hỗ trợ filter theo process, endpoint, protocol và state.
Yêu cầu platform adapter ConnAdapter. Nếu dùng filter processName/processPath, cần quyền đọc /proc/[pid]/fd của process khác (root hoặc CAP_SYS_PTRACE).
Config fields
Metrics
Ví dụ config
Kiểm tra nginx có connection tới DB:Lưu ý
- Probe không mở connection mới — chỉ đọc bảng connection hiện có của host.
- Khi thiếu
CAP_SYS_PTRACE, filterprocessName/processPathmatch 0 vì agent không thể attribute socket tới PID. Probe emitvms.agent.permission_missing{capability=CAP_SYS_PTRACE}để gap hiển thị. - Tất cả filter là AND logic — connection phải match tất cả filter được cấu hình.

