Description
Theconnection_mon probe checks whether a specific process currently holds an ESTABLISHED TCP connection to a service endpoint. Designed for “trace between two servers” — verifying connectivity between systems.
Bidirectional matching: The same config can be deployed on both ends:
- Forward: this host is the source (local = source, remote = dest service)
- Reverse: this host is the dest (local = dest service, remote = source)
ProcessAdapter and ConnAdapter.
Config fields
Metrics
Example config
Notes
- Only TCP
ESTABLISHEDstate is considered “normal/healthy”. - Same config deployed on both ends: host A sees
direction=forward, host B seesdirection=reverse. - Without
CAP_SYS_PTRACE, a process owned by another user shows 0 connections (false negative) withvms.agent.permission_missingemitted.

