A minimal health-check daemon configured with a JSON file. Supports HTTP (checks for 2xx status), TCP (checks connection), and command-based (checks exit code) checks. Runs each check on a configurable interval and executes a command on failure. Includes a --oneshot mode for single-run checks. No containers, no config server, no dashboard — scp the binary and a config file and you have monitoring in 2 minutes.
MonitoringDevOpsDaemonCLI
Features
- HTTP (2xx), TCP (dial), and command (exit code) check types
- Configurable check intervals per endpoint
- On-failure command execution
- JSON config file with sample generation
- Signal handling for graceful shutdown
Flags
| Long | Short | Description |
|---|---|---|
| --version | -V | Show version and license |
| --config | -c | Path to JSON config file |
| --oneshot | -1 | Run all checks once and exit |
Usage
terminal
$ pingd --config pingd.json
$
$ pingd --oneshot
Dependencies
stdlib only — net/http, net, os/exec, encoding/json, time
Install
$ curl -LO https://labs.stech-sol.com/downloads/pingd/0.1.0/pingd_linux_amd64
$ chmod +x pingd_linux_amd64
$ sudo mv pingd_linux_amd64 /usr/local/bin/pingd
About
Downloads
Verify integrity
SHA256 checksums