Commit Graph

26 Commits

Author SHA1 Message Date
Cody Lee b960695f3b
Add Docker health check support
Implements #406 by adding a --health CLI flag and HEALTHCHECK instruction
to the Dockerfile. This allows Docker and container orchestration platforms
to monitor container health automatically.

Changes:
- Added --health flag that validates configuration and plugin connectivity
- Implemented HealthCheck() method in pkg/poller/commands.go
- Updated Dockerfile with HEALTHCHECK instruction (30s interval, 10s timeout)
- Updated MANUAL.md with --health flag documentation
- Added health check documentation to Docker README
- Added comments to docker-compose examples about built-in health check

The health check:
- Validates configuration file is found and parseable
- Ensures at least one input and one enabled output are configured
- Performs basic validation on enabled outputs
- Returns exit code 0 (healthy) or 1 (unhealthy)
- Runs silently for Docker compatibility

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2025-12-08 13:09:10 -06:00
David Newhall II 81ab41571e rename org 2021-06-23 03:27:48 -07:00
davidnewhall2 eacce79785 updates 2020-06-29 22:36:05 -07:00
davidnewhall2 4aeb5f4fea Update man page 2020-02-03 00:16:23 -08:00
davidnewhall2 2e252b5069 Fix defaults 2020-02-03 00:10:00 -08:00
davidnewhall2 30742fbe54 Rename and fixes 2020-02-01 04:02:04 -08:00
davidnewhall2 876d97bfe5 fix paths 2020-02-01 00:45:10 -08:00
davidnewhall2 3b457a5f00 fixes 2020-02-01 00:43:19 -08:00
davidnewhall2 5fe2c0879b add freebsd package building 2020-02-01 00:25:25 -08:00
davidnewhall2 de16ba2399 fixes 2019-12-20 02:44:53 -08:00
davidnewhall2 44c544d8e1 Add dynamic plugin support 2019-12-16 03:11:40 -08:00
davidnewhall2 ac39d1727f make output plugins call in to initialize 2019-12-15 02:52:43 -08:00
davidnewhall2 510251252b update docs 2019-12-14 19:37:41 -08:00
davidnewhall2 e984f1e3f6 doc updates 2019-12-01 22:19:57 -08:00
davidnewhall2 ebe05ec3e5 move pkgs, update readme, add two more metrics to influx client 2019-11-30 01:45:42 -08:00
davidnewhall2 9743a83aff fix comments 2019-11-29 13:55:59 -08:00
davidnewhall2 1b75963002 Updates 2019-11-25 00:17:59 -08:00
davidnewhall2 bee5a5901c add site code 2019-11-17 03:02:25 -08:00
davidnewhall2 7094c2ce2c this is just a start, nothing works yet 2019-11-12 00:04:01 -08:00
David Newhall II bdfec45579 Remove max errors parameter 2019-09-25 00:12:09 -07:00
davidnewhall2 de365d802f Fix some bugs. 2019-09-20 18:36:20 -07:00
David Newhall II 10d17b4a31 Add reauth feature, remove errors library. 2019-08-25 01:54:19 -07:00
David Newhall II ed3842f69f minor changes 2019-07-14 02:28:32 -07:00
David Newhall II 148b5776cd Add IDS/IPS support. 2019-07-11 01:18:40 -07:00
David Newhall II df46550a4f Call it mode. 2019-06-23 19:55:26 -07:00
David Newhall II 8e9055e172 Rename a few things. 2019-06-23 18:38:27 -07:00