> For the complete documentation index, see [llms.txt](https://docs.cennso.com/components/fpp/latest/llms.txt) (all documentation: [llms.txt](https://docs.cennso.com/llms.txt)). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.cennso.com/components/fpp/latest/observability/network-monitoring.md).

# FPP Overlay Network monitoring

FPP introduces an observability feature to monitor the status of the FPP Overlay Networks across all FPP node pods. This allows you to verify that all nodes are correctly interconnected and that there are no connectivity failures between them via the Uplink interface.

This feature works only on FPP node pods. It is implemented using the following components, provisioned automatically when enabled:
- An FPPNetwork configured with the VXLAN VNI set to 1. It is strongly advised not to use this network for other workloads.
- A `monitoring-tap` TAP interface created within the FPP node pod.
- The Uplink IP address is used, assigned within the Linux network namespace of the FPP node pod.

> **NOTE:** FPP 3.0.5 introduces this as a beta feature, which must be explicitly enabled per FPPDeployment. Please note that activating or deactivating it will trigger a restart of the FPP node pods.

## Configuration

To enable FPP Overlay Network monitoring, set the **spec.enableUplinkMonitoring** field in the `FPPDeployment` to true on the Management Cluster. Sample configuration:

> **ATTENTION:** The FPP node pods must be restarted to enable FPP Overlay Network monitoring.

```yaml
apiVersion: fpp.cennso.com/v1alpha1
kind: FPPDeployment
metadata:
  namespace: crossplane-system
  name: fpp-node
spec:
  connectionSecretRef:
    name: cluster
    namespace: cennso-system
  compositionRef:
    name: fpp-generic
  enableUplinkMonitoring: true
  ...
```

You can modify the existing FPPDeployment object using the `kubectl` command on the Management Cluster:

```bash
kubectl patch fppdeployment {FPPDEPLOYMENT_NAME} -n {FPPDEPLOYMENT_NAMESPACE} --type=merge -p '{"spec": {"enableUplinkMonitoring": true}}'
```

To temporarily test this monitoring feature, you can also modify the `VPPDeployment` directly on the Core Cluster using the `kubectl` command:

```bash
kubectl patch vppdeployment {VPPDEPLOYMENT_NAME} -n {VPPDEPLOYMENT_NAMESPACE} --type=merge -p '{"spec": {"enableUplinkMonitoring": true}}'
```

## Monitoring

The FPP node pod exposes the following ping metrics:
- `vpp_uplink_ping_avg_rtt_ms{dst="10.99.99.2",src="10.99.99.1"} 4.292`
- `vpp_uplink_ping_packets_received_total{dst="10.10.0.3",src="10.10.0.1"} 3150`
- `vpp_uplink_ping_packets_sent_total{dst="10.10.0.2",src="10.10.0.1"} 3150`
- `vpp_uplink_ping_path_state{dst="10.10.0.2",src="10.10.0.1"} 1`

For more details visit [metrics documentation](https://docs.cennso.com/components/fpp/latest/observability/metrics.md).

The FPP Overview dashboard shows a map of connectivity (`Uplink Tunnel Status`) and chart with `Uplink Packet Loss Ratio`. For more details, [see dashboard documentation](https://docs.cennso.com/components/fpp/latest/observability/dashboard-fpp.md#fpp-overlay-network-status).

## Verification

To verify the feature is working, check the following:
- `monitoring-tap` is present in the FPP node pod
- `FPP_MONITORING` env var is set on FPP node pod
- Check FPP node pod logs

### Check monitoring-tap interface

In the Core Cluster, exec to the FPP node pod and run `ip a`, sample output:

```
5: eth0@if2374: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1450 qdisc noqueue state UP group default qlen 1000
    link/ether 22:fa:1d:f7:bf:47 brd ff:ff:ff:ff:ff:ff link-netnsid 0
    inet 10.244.98.227/32 scope global eth0
       valid_lft forever preferred_lft forever
    inet6 fe80::20fa:1dff:fef7:bf47/64 scope link
       valid_lft forever preferred_lft forever
6: monitoring-tap: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UNKNOWN group default qlen 1000
    link/ether 02:fe:d6:d0:ca:e8 brd ff:ff:ff:ff:ff:ff
    inet 10.35.2.3/24 scope global monitoring-tap
       valid_lft forever preferred_lft forever
    inet6 fe80::fe:d6ff:fed0:cae8/64 scope link
       valid_lft forever preferred_lft forever
```

The IP address of the `monitoring-tap` interface must be unique across all Linux interfaces visible in FPP node pod.

### See FPP_MONITORING env var

Next thing to check is if the FPP node pod on the Core Cluster has `FPP_MONITORING` environment variable set to `true`:

```yaml
spec:
  containers:
  - command:
    - /usr/local/bin/vpp-wrapper.sh
    env:
    - name: FPP_MONITORING
      value: "true"
```

### Check the logs

Once FPP Overlay Network monitoring is enabled, you can look for the following `INFO` log after the FPP node pod starts:

```
time=2026-04-28T08:24:02Z level=info logger=networkPingWorker msg="ping probe thread started"
```

If `DEBUG` logging is enabled, the FPP node pod logs each ping it executes:

```
time=2026-05-11T10:07:58Z level=debug logger=networkPingWorker msg="Pinging 10.99.99.2 (using 10.99.99.1 IP on TAP)..."
time=2026-05-11T10:07:59Z level=debug logger=networkPingWorker msg="Ping statistics" stats="{PacketsRecv:3 PacketsSent:3 PacketsRecvDuplicates:0 PacketLoss:0 IPAddr:10.99.99.2 Addr:10.99.99.2 Rtts:[4.06989ms 4.563009ms 4.0245ms] MinRtt:
4.0245ms MaxRtt:4.563009ms AvgRtt:4.219133ms StdDevRtt:243.862µs}"
```
