Skip to content
Prometheus style smokeping
Branch: master
Clone or download
Type Name Latest commit message Commit time
Failed to load latest commit information.
.circleci Add release publisher. Nov 8, 2018
ping More bugfixes Nov 6, 2018
.gitignore More build fixes. Nov 5, 2018
LICENSE Initial commit Nov 4, 2018
Makefile add docker image Nov 5, 2018
Makefile.common Add example graph to the README. Jan 29, 2019
VERSION Add build infra. Nov 4, 2018
collector.go Update name Nov 5, 2018
example-graph.png Add example graph to the README. Jan 29, 2019
example-rules.yml Add example rules file. Jan 11, 2019
go.mod Fixup build. Nov 29, 2018
go.sum Fixup build. Nov 29, 2018
main.go More bugfixes Nov 6, 2018


Prometheus style "smokeping" prober.

Example Graph


This prober sends a series of ICMP (or UDP) pings to a target and records the responses in Prometheus histogram metrics.

usage: smokeping_prober [<flags>] <hosts>...

  -h, --help              Show context-sensitive help (also try --help-long and --help-man).
                          Address on which to expose metrics and web interface.
                          Path under which to expose metrics.
  -i, --ping.interval=1s  Ping interval duration
      --privileged        Run in privileged ICMP mode
      --log.level="info"  Only log messages with the given severity or above. Valid levels: [debug, info, warn,
                          error, fatal]
                          Set the log target and format. Example: "logger:syslog?appname=bob&local=7" or
      --version           Show application version.

  <hosts>  List of hosts to ping

Building and running

Requires Go >= 1.11

go get
sudo setcap cap_net_raw=+ep ${GOPATH}/bin/smokeping_prober


Metric Name Type Description
smokeping_requests_total Counter Counter of pings sent.
smokeping_response_duration_seconds Histogram Ping response duration.
You can’t perform that action at this time.