Skip to main content

Description

The connection_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)
Requires both ProcessAdapter and ConnAdapter.

Config fields

Metrics

Example config

Notes

  • Only TCP ESTABLISHED state is considered “normal/healthy”.
  • Same config deployed on both ends: host A sees direction=forward, host B sees direction=reverse.
  • Without CAP_SYS_PTRACE, a process owned by another user shows 0 connections (false negative) with vms.agent.permission_missing emitted.