You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Jan Christian Grünhage 576f5728a4 chore: bump version to 0.4.1 and update changelog 5 months ago
src chore: switch tokio-ping over to fork 5 months ago
.gitignore hopefully finish implementation 3 years ago
.gitlab-ci.yml Add .gitlab-ci.yml 3 years ago
CHANGELOG.md chore: bump version to 0.4.1 and update changelog 5 months ago
Cargo.lock chore: bump version to 0.4.1 and update changelog 5 months ago
Cargo.toml chore: bump version to 0.4.1 and update changelog 5 months ago
LICENSE Add LICENSE 3 years ago
README.md feat: add healthcheck endpoint 5 months ago
config.toml.sample improve documentation 1 year ago

README.md

peshming

It's a prometheus exporter pinging hosts in the background. It's been inspired by meshping, but instead of managing targets using a redis db this is using a simple config file. In addition, this tool allows to set a ping frequency per target.

The name peshming is intended as a placeholder until someone comes up with something better.

Usage:

$ peshming --help
peshming 0.2.3
Jan Christian Grünhage <jan.christian@gruenhage.xyz>
Pings configured hosts in a configurable intervals and exposes metrics for prometheus.

USAGE:
    peshming [FLAGS] <config>

FLAGS:
    -h, --help       Prints help information
    -v, --verbose    Be verbose (you can add this up to 4 times for more logs).
                     By default, only errors are logged, so no output is a good thing.
    -V, --version    Prints version information

ARGS:
    <config>    Set config file

For configuration options, see the included sample config file.

Endpoints:

There's two endpoints available:

  • /metrics, which serves the metrics
  • /health, which should always return a 200 status code