-
-
Notifications
You must be signed in to change notification settings - Fork 8
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
Errors at Irregular Intervals #18
Comments
Hi everyone, i have a similar issue. When running wmi queries one by one everything seems fine. After i fire up naemon for regular checks (limited to 6 parallel) with check_wmi_plus (1.68) the server crashes regularly:
|
This could be a result of the connection which is not being closed when it should. In the latest version, 0.2.2 we fixed closing the connection in the finally block. Is it possible to test if this solves the problem? And if not, can you explain which steps to take to reproduce this issue? |
Thanks for the fix. I will apply it to my system and check if the error still occurs. However, this may take a few days, as the error sometimes appeared only after a few days. To recreate the error you basically just need to set up the wmic_server and query multiple servers. |
Hi @joente and thank you for the quick fix. unfortunately the issue is still present in my enviroment:
the current setup is: so after i have startet the wmic_server service i can run multiple check_wmi_plus checks without any issues. Everything is working like a charm. The issue only occures only after i start the omd site which has multiple parallel check_wmi_plus checks. i can try to reduce the number of checks by moving out some naemon cfg files to reduce the number of checks if it helps. |
The error seems to still occur for me as well. |
Meanwhile, it can be run as a SystemD service without using gunicorn by using these lines in wmic_server.service:
Alter to suit, of course. |
Hello everyone,
first of all thank you for this great library. After wmic stopped working, I searched a long time for a good replacement.
I use the wmic_server to monitor some servers. But now I get the following error in irregular intervals:
The servers are read out every 5 minutes with several querys.
What could be the reason for the error?
The text was updated successfully, but these errors were encountered: