-
Notifications
You must be signed in to change notification settings - Fork 29
Ubuntu 16.04 multiple instaces issue #15
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
Comments
Hi! |
Hi, no other nagios aren't working, only the check_vmware_api. Maybe it could be related to some library, please note that all the perl library version are changed between the two version of ubuntu. Tell me if I can help you with more information, Thanks |
Hi, if you need a 16.04 environment to test with I can provide to you. |
@pierluigiconti If you run the check manually from the shell, do you get any error message? |
no, if I run a single instance it works well, if I run at least two concurrent instances it hangs (via nagios and also via shell) |
Had some issues under CentOS 7 as well that gave the result that the check timed out, and the solution was to compile the required Perl libraries for VMware Perl SDK from cpan, which mitigated the issues. |
I also have tryied to install the perl modules from src via CPAN but no luck. The issue is still here |
I have the very same issue. I've tried various combination of vSphere SDK and PERL libs to no avail. Would appreciate any pointers to troubleshoot this issue. |
I had similar issues using CentOS7, with version 6.0 of the vSphere Perl SDK. The patch provided by HapcJr , in the following article solved the issue for me. https://communities.vmware.com/message/2298661 Also when installing the Perl SDK, do NOT use the pre-built perl modules, ensure that you have the "Development tools" group of packages installed (i.e. gcc and make) and allow the SDK installer to build the Perl modules (it will fetch them from cpan). |
Hi! with command: The cause was the entropy queue was too low. you can see it with Normally, it must be around 3000. In my case, it was below 50. The solution was to install rng-tools and start the rngd daemon. You can find more information here: |
Thank you thank you thank you thank you a million times!!!! That has solved the issue for me too :) |
Hello
we have been using check_vmware_api on ubuntu 14 without any problem but, we recently upgraded to ubuntu 16.04, and we're having a concurrency problem.
Infact all nagios checks aren't working correctly anymore.
After doing some tests we noticed that the problem is maybe related to a concurrency execution.
To do this tests we just executed three simultaneous instances of check_vmware_api and we got the issue: the script hangs.
We have runned this tests with vsphere SDK version 5.1 6.0 and 6.5.
Ubuntu's perl version is 5.22.1
Thank you,
The text was updated successfully, but these errors were encountered: