-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Sidecar: Ask if collectors should be restarted after a configuration change #5081
Comments
A possible caveat: We'd have to wait until the new config was applied, or send the restart request together with the config change. |
User error. The restart is happening automatically already. Should we still ask? |
Right, the current behavior is that a configuration change is detected automatically and because of that the Sidecar restarts the process. An option would be to interfere into this procedure and mark a collector with a |
Thinking this a little bit further, the big boys use-case is in a scenario with lots and lots of collectors. An admin would be afraid to do a configuration change because he doesn't know if all instances will fail or not. The current way of doing it is to create a second collector configuration -> apply it to one or two hosts only, test a configuration change. Afterwards put the changes in the production configuration. We could support this process by providing a new view, e.g. We will try to mock something up to see if that would e feasible way. Probably nothing for 3.0. |
I agree, before we think about how we would solve the "ask for restart" we should think about use cases and why someone might want to not restart a collector automatically after a config change. 👍 |
will continue this in Graylog2/collector-sidecar#494 |
I changed the configuration of my osquery instances and wasn't sure if I had to manually restart the collectors next. Worse, all my
osqueryd
instances failed because the configuration file handle was invalid after the configuration change and I definitely had to restart the processes.Can we ask the user if the underlying processes should be restarted if a configuration was changed?
The text was updated successfully, but these errors were encountered: