After integrating Telegraf to an SD-WAN Gateway, you can collect the counters from the configured Input and export the data to the Output plugin.

The following table lists the supported Counters that can exported from an SD-WAN Gateway.

Counter Name Description Availability
number_of_edges Number of Edges connected to the Gateway Global
number_of_tunnels Number of tunnels associated with the Gateway Global
number_of_routes Number of routes installed in the Gateway Global
number_of_flows Total number of active flows in the Gateway Global
active_NAT_entries Number of active NAT entries per peer. Global
free_NAT_entries Number of free shared memory entries assigned for NAT Global
stale_NAT_entries Number of stale NAT entries in the system. This tracks only the stale entries due to ref count leak. Global
stale_tunnel_entries Number of stale tunnel entries in the Gateway Global
stale_peer_objects Number of stale peer objects in the Gateway Global
stale_flow_entries Number of stale flow entries in the Gateway Global
sched_drop Packets dropped in scheduler due to the bandwidth limit Global
flow_drop Packets dropped due to flow lookup failure and flow creation failure Global
route_drop Packets dropped due to route lookup failure and route sanity failure. Routing control packets which are dropped due to exceptions are also accounted. Global
nat_drop Packets dropped due to NAT lookup failure and NAT creation failure Global
over_capacity_drop Packets dropped due to internal handoff queue limit drops and due to low packet buffers in the system Global
vcmp_drop VCMP control and data packet drops due to VCMP sanity checks and exceptions Global
invalid_pkt_drop Packets dropped due to invalid checksum, TTL, and invalid packet size Global
misc_drop Packets dropped due to other errors and exceptions Global
num_nsd_paths_up/down Number of NSD tunnels in UP/DOWN state in the Gateway Global
num_paths_INITIAL

Number of tunnels in INITIAL state.

INITIAL state indicates that the Edge just initiated a tunnel request to the Gateway.

Global

num_paths_MEASURING_TX_BW

num_paths_MEASURING_RX_BW

After initiating a tunnel request, tx and rx bandwidth will be measured for the tunnels from Edge to Gateway before moving to STABLE state. The number of tunnels for which tx and rx bandwidth is measured is tracked under the respective counters. Global
num_paths_STABLE

Number of tunnels in STABLE state.

STABLE state indicates that the tunnel is established between edge and gateway and the tunnel is stable.

Global
num_paths_UNSTABLE

Number of tunnels in UNSTABLE state.

If the loss, latency and jitter values exceed the defined threshold, the tunnel moves to UNSTABLE state.

Global
num_paths_UNUSABLE

Number of tunnels in UNUSABLE state.

If the loss, latency and jitter values exceed the defined threshold for UNUSABLE, the tunnel moves to UNUSABLE state.

Global
num_paths_QUIET If no packets are received in the path for a defined time interval, path transitions to QUIET state and the number of such paths are tracked here Global
nat_cnt Number of active NAT entries per Enterprise Per Enterprise
route_cnt Number of route entries installed in the Gateway per Enterprise Per Enterprise
flow_cnt Total number of active flows per Enterprise. Per Enterprise
tx_packets Number of packets transmitted from the Gateway Per Enterprise, Edge Tunnel
tx_bytes Number of bytes transmitted from the Gateway Per Enterprise, Edge Tunnel
rx_packets Number of packets received by the Gateway Per Enterprise, Edge Tunnel
rx_bytes Number of bytes received by the Gateway Per Enterprise, Edge Tunnel
vc_queue_<queue_name>_len Number of packets enqueued in each handoff queues listed in Capacity of Gateway Components Global
vc_queue_<queue_name>_drop Number of drops in each handoff queues listed in Capacity of Gateway Components Global
dpdk_mbuf_pending Number of buffers that are already processed and waiting to be freed Global
dpdk_mbuf_locked_fail Number of times the GET buffer operation fails while retrieving a buffer from the locked pool Global
dpdk_mbuf_locked_free Number of free buffers present in the locked pool Global
dpdk_mbuf_pool_free Number of free buffers Global

nombuf

Total number of RX mbuf allocation failures Global
mbuf_low Number of times the mbuf_low threshold is reached Global
net_sch.pkt_cnt Number of buffers used by Net Scheduler Global
link_sch.pkt_cnt Number of buffers used by Link Scheduler Global
link_sch_cosq.pkt_cnt Number of buffers used by Link Cos Scheduler Global
mp.rt_pkts_stored Number of buffers used by VCMP retransmit store Global
mp.reseq_qlen Number of buffers used for VCMP resequencing Global
mp.jitter_pkt_bufs Number of buffers used for VCMP jitter management Global
ipfrag.current_cnt Number of buffers allocated for storing fragmented packets Global