Prometheus exporter for ping metrics such as RTT, packet loss, and jitter to any number of hosts.

ping_exporter

Go Reference

Command ping_exporter provides a Prometheus exporter for ping metrics such as RTT, packet loss, and jitter to any number of hosts.

Usage

Available flags for ping_exporter include:

$ ./ping_exporter -h
Usage of ./ping_exporter:
    -metrics.addr string
        address for ping exporter (default ":9165")
    -metrics.path string
        URL path for surfacing collected metrics (default "/metrics")
    -ping.host value
        host to ping, can be repeated (-ping.host=1.1.1.1 -ping.host=google.com ...)

$ ./ping_exporter -ping.host=1.1.1.1 -ping.host=apple.com -ping.host=google.com
2021/10/23 15:21:21 starting ping exporter on ":9137"

The following metrics will be exported:

...
# HELP ping_jitter RTT jitter.
# TYPE ping_jitter gauge
ping_jitter{host="1.1.1.1"} 3
ping_jitter{host="apple.com"} 2
ping_jitter{host="google.com"} 2
# HELP ping_packet_loss Percentage of packet loss.
# TYPE ping_packet_loss gauge
ping_packet_loss{host="1.1.1.1"} 0
ping_packet_loss{host="apple.com"} 0
ping_packet_loss{host="google.com"} 0
# HELP ping_packets_recv Number of packets received.
# TYPE ping_packets_recv counter
ping_packets_recv{host="1.1.1.1"} 65
ping_packets_recv{host="apple.com"} 65
ping_packets_recv{host="google.com"} 65
# HELP ping_packets_sent Number of packets sent.
# TYPE ping_packets_sent counter
ping_packets_sent{host="1.1.1.1"} 65
ping_packets_sent{host="apple.com"} 65
ping_packets_sent{host="google.com"} 65
# HELP ping_rtt Running average of the RTT.
# TYPE ping_rtt gauge
ping_rtt{host="1.1.1.1"} 27
ping_rtt{host="apple.com"} 25
ping_rtt{host="google.com"} 28
...
Owner
Beard Slayer
@wolfjaw | @agnostechvalley | Go | Computer Science | RebelGeek | Strongly typed native Masshole
Beard Slayer
Similar Resources

Prometheus nginx socket exporter

Prometheus nginx socket exporter

stand-alone version of k8s/ingress-nginx' prometheus exporter based on openresty/lua-nginx-module how it works exporter opens socket (/tmp/prometheus-

Aug 8, 2022

Capture sensor data from Xiaomi thermometers (via BLE) and expose it as prometheus metrics

sensor-probe Sensor Probe is a small utility that reads advertisement data sent by the Xiaomi Thermometer LYWSD03MMC via Bluetooth LE and expose them

Oct 13, 2022

Monitors the expiry time of tls certificates and exports prometheus metrics

Certificate Monitor Monitors the expiry time of tls certificates and exports prometheus metrics. Target domains can be automatically discovered via in

Feb 7, 2022

PinGo is a standalone and feature-rich tool for common IP-based reachability checking tasks. Ping or Trace and Observe in real-time the statistics.

pingo As a network champion from designing and implementing to troubleshooting large scale networks - I know that is usually not easy for administrato

Sep 26, 2022

Traefik - Traefik with zitifed prometheus metrics

Traefik - Traefik with zitifed prometheus metrics

Traefik (pronounced traffic) is a modern HTTP reverse proxy and load balancer th

Jan 17, 2022

Implementation of Minecraft protocols : ping, query and icon.

Implementation of Minecraft protocols : ping, query and icon.

mcutils - Implementation of Minecraft protocols in Go Informations General All protocols are implemented in Go, without any external dependency. All p

Dec 19, 2022

ping 和 http get 请求探测 适配 nightingale

n9e-probe 功能 ping 和 http get 请求探测 适配 nightingale 指标 ping metric 说明 ping.latency ping 请求的延迟,单位是毫秒。-1 表示 ping 不通 tag 说明 ip 探测的目标 ip region 如果配置了,则插入 reg

Sep 27, 2022

🚥 Yet another pinger: A high-performance ICMP ping implementation build on top of BPF technology.

yap Yet-Another-Pinger: A high-performance ICMP ping implementation build on top of BPF technology. yap uses the gopacket library to receive and handl

Nov 9, 2022

[FORK] ICMP Ping library for Go

forked from go-ping/ping go get -u github.com/gandaldf/ping go-ping A simple but powerful ICMP echo (ping) library for Go, inspired by go-fastping. He

Oct 21, 2021
Go package to simulate bandwidth, latency and packet loss for net.PacketConn and net.Conn interfaces

lossy Go package to simulate bandwidth, latency and packet loss for net.PacketConn and net.Conn interfaces. Its main usage is to test robustness of ap

Oct 14, 2022
C-ping is a very simple and small ping tool that sends ICMP Echo datagram to a host.

C-ping is a very simple and small ping tool that sends ICMP Echo datagram to a host.

Aug 9, 2022
🦈 Prometheus exporter for pcap metrics

pcap-exporter ?? Prometheus exporter for pcap metrics Usage

Jun 5, 2022
Divide (distribute) the given number (n) into number (p) of parts randomly,

Number Split Randomly The sample code written in Go lang Executables This repo already have executables for Linux and windows, after clone the repo ju

Feb 4, 2022
Capture packet request/response pairs for a port and/or IP to aid in Network protocol based Nuclei Templates creation.

network-fingerprint Capture packet request/response pairs for a port and/or IP to aid in Network protocol based Nuclei Templates creation. Resources I

Nov 15, 2022
Provides packet processing capabilities for Go

GoPacket This library provides packet decoding capabilities for Go. See godoc for more details. Minimum Go version required is 1.5 except for pcapgo/E

Dec 29, 2022
Packet Sniffer in golang

WirePenguin ?? A CLI Packet Sniffer in golang using Cobra and Gopacket packages much much simpler than WireShark =) You can capture packets both live

Dec 13, 2022
Tiny packet forwarder for golang

Tiny Packet Forwarder Usually, I use iptables on Linux to do forward. i encounter some problems sometime, for example: RDP disconnect immediately afte

Dec 15, 2022
Netkit - A type parameter(generics) net kit, support tcp kcp, customize packet

Netkit Netkit is a type parameter(generics) golang package Get Started Need Go i

Jan 12, 2022
Prometheus exporter for counting connected devices to a network using nmap

nmapprom Prometheus exporter for counting the hosts connected to a network using nmap · Report Bug · Request Feature Table of Contents About The Proje

Oct 17, 2021