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