gatus icon indicating copy to clipboard operation
gatus copied to clipboard

Config check mode

Open movinfinex opened this issue 1 year ago • 2 comments

Describe the feature request

Many servers have the option to quit after loading and validating the configuration. (E.g., nginx -t and haproxy -c)

I suggest making either gatus -c or gatus check quit before entering the monitoring loop. Gatus doesn't have any command line flags or subcommands, yet, but there are related issues (https://github.com/TwiN/gatus/issues/901) that could also be resolved with them.

Why do you personally want this feature to be implemented?

I want to sanity check configuration in CI/CD pipelines.

How long have you been using this project?

New user.

Additional information

I'm willing to contribute a PR if the feature sounds good.

movinfinex avatar Jan 09 '25 06:01 movinfinex

Amazing timing, I was literally about to ask this also! I run gatus with Tailscale and config check mode would be amazing to prevent extra ephemeral device creation 👍🏻

maxexcloo avatar Jan 09 '25 23:01 maxexcloo

Related issue: https://github.com/TwiN/gatus/issues/533

amai2012 avatar Jan 29 '25 12:01 amai2012