From 37f1c5896928013cc424ed97bbe69f9a00821272 Mon Sep 17 00:00:00 2001 From: Andreas Wrede Date: Thu, 7 May 2026 06:12:15 -0400 Subject: [PATCH] docs: remove dead warning/critical keys from ping_monitor config example These fields were never read by the plugin; thresholds are configured server-side. Also document the -b flag in README. Co-Authored-By: Claude Sonnet 4.6 --- README.md | 3 +++ hbd/client/plugins/ping_monitor.py | 8 ++------ 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 9258bbc..ce73eee 100644 --- a/README.md +++ b/README.md @@ -507,6 +507,9 @@ hbc --boot your-server.example.com # Verbose output hbc -v your-server.example.com + +# Send 'boot' and 'shutdown' messages on start and exit +hbc -b your-server.example.com ``` You can also run it via the module entrypoint: diff --git a/hbd/client/plugins/ping_monitor.py b/hbd/client/plugins/ping_monitor.py index eee1eb4..67ca4c3 100644 --- a/hbd/client/plugins/ping_monitor.py +++ b/hbd/client/plugins/ping_monitor.py @@ -13,12 +13,8 @@ plugins: count: 3 # ICMP packets per ping run (default 3) timeout: 5 # seconds before a host is considered unreachable (default 5) hosts: - 8.8.8.8: - warning: 20.0 # ms - critical: 100.0 # ms - 192.168.1.1: - warning: 5.0 - critical: 20.0 + - 8.8.8.8 + - 192.168.1.1 ``` Reported metrics per host (metric key uses the hostname with dots/colons replaced