-
Notifications
You must be signed in to change notification settings - Fork 56
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
[Question] reload config time #390
Comments
I'm sure the devs will chime in, but I've also found that config reloads can hang/take some time when the config reload is issued during a polling cycle. When snmpcollector isn't actively polling anything, config reloads are quite snappy. I only came to this conclusion via trial and error when some devices I was testing snmpcollector with were timing out. The config reloads would just hang because snmpcollector seemed to be busy attempting to poll devices that were eventually just never going to respond. I'm also running snmpcollector in a Docker container. I have about 250 devices but I'm federating their polling with 8 different snmpcollector instances. |
Hi @wurmrobert , @jensenja As you have described, the reload config action waits until all devices finishes its polling to be able to do a safe-load runtime configuration on all devices. It means that the maximum wait time should be equal than the slowest device. If a device has lots of measurements/metrics and trends to hang, you can play with Thanks, |
Hi! @jensenja @sbengo @wurmrobert
I stick to wurmrobert ask. What are the issues if we do with "unsafe-reload"? Thanks in advance! |
Hello @JuSacco , @wurmrobert , @jensenja as an easy workaround we have added recently here ( 8247ecb ) a new API call /api/rt/agent/shutdown ( after logged) with will end the process immediately . If you are working with snmpcollector docker image you can config |
I am using your collector for about 550 devices.
Everything works well. But is it normal that the reload config process sometimes is really slow? Most of the time it takes more than one minute. I run your collector in a docker container. When i restart the container i am much faster and the gather process takes also the latest config. So are my device settings invidious or is that a known issue?
Each Device has the following settings:
The text was updated successfully, but these errors were encountered: