Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Config check mode #960

Open
movinfinex opened this issue Jan 9, 2025 · 2 comments
Open

Config check mode #960

movinfinex opened this issue Jan 9, 2025 · 2 comments

Comments

@movinfinex
Copy link

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 (#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.

@maxexcloo
Copy link

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 👍🏻

@amai2012
Copy link

Related issue: #533

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants