For AI agents: this documentation is indexed for you in llms.txt, and all of it in /llms.txt. Every page is also available as markdown: append .md to its address.

You are reading Connectivity Gateway 1.9, an older release. The newest release is 1.12. Read this page in 1.12

Monitoring configuration

The monitoring component of Connectivity Gateway (CGW) supports ICMP echoes to the defined endpoints and exposes them through an HTTP endpoint in the Prometheus format.

The component sends pings from the address configured in ipsec.local_ping_endpoint to the address stated in ipsec.remote_ping_endpoint. A service is exposed and scraped automatically by common configured Prometheus instances.

By default, the service is called <release name>-cgw and the metrics are available at http://<release name>-cgw:9427/metrics.

Configuration parameters

The following configuration parameters are available:

yaml

Note

All parameters except ping.target are required.

Multiple ping configurations

If you want to use multiple configurations for the ping target, for example, to use multiple source IP addresses, set up the ping.configuration parameter. See the configuration example:

yaml

Use additional labels

You can add additional labels to the configuration. The labels (both source and target) are added to the resulting metrics. The label names must be different between source and target.

See the example of a working configuration:

yaml

Caution

Target and source label names must be the same within the configuration. Otherwise, a runtime error occurs.

Even in the case of two different configurations with different source IP address, the labels for source and targets must match. For example, the following configuration is not valid:

yaml