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

Detect when a config sync is running? #10310

Open
dgiesselbach opened this issue Jan 20, 2025 · 0 comments
Open

Detect when a config sync is running? #10310

dgiesselbach opened this issue Jan 20, 2025 · 0 comments

Comments

@dgiesselbach
Copy link

We have the problem that when the config sync is running, all API requests against the master are unsuccessful. The config sync takes atm about 2 minutes.

If an icinga check in powershell runs during this time window, which has to execute API requests against the master, this will result in an error.

First question:
Is there a way to query via API whether a config sync is currently running or not? -> If we could query whether a config sync is running or not, we could adapt the icinga powershell scripts accordingly. That would help us enormously.

Second question:
Is it possible to trigger a pre and post script before/after the config sync?

We now have over 2000 hosts and over 43000 checks, I'm afraid that the config sync will "at some point" take 10 minutes or more and that we'll create "wild" incidents during this time. How do you generally handle the config sync in "large" environments?

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

1 participant