1 个不稳定版本
0.4.1 | 2021年4月27日 |
---|
#27 in #icmp
24KB
215 行
佩什明
它是一个在后台ping主机的Prometheus导出器。它受到了meshping的启发,但与使用redis数据库管理目标不同,它使用简单的配置文件。此外,该工具允许为每个目标设置ping频率。
佩什明的名字旨在作为一个占位符,直到有人想出更好的名字。
用法
$ peshming --help
peshming 0.2.3
Jan Christian Grünhage <[email protected]>
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
有关配置选项,请参阅附带的示例配置文件。
端点
有两个端点可用
/metrics
,用于提供指标/health
,应始终返回200状态码
依赖关系
~10–20MB
~258K SLoC