Closed bill22152 closed 5 years ago
[root@Nagios bfitzpatrick@lssi.hqmd]# cpan -D Net::HTTP Loading internal null logger. Install Log::Log4perl for logging messages CPAN: Storable loaded ok (v2.53) Reading '/root/.local/share/.cpan/Metadata' Database was generated on Tue, 05 Apr 2016 20:53:38 GMT
CPAN: Module::CoreList loaded ok (v5.20160121)
(no description) E/ET/ETHER/Net-HTTP-6.09.tar.gz /usr/share/perl5/vendor_perl/Net/HTTP.pm Installed: 6.09 CPAN: 6.09 up to date Karen Etheridge (ETHER) ether@cpan.org
Hi, this seems to be a connection problem ;-)) . The command line tools from Vmware are enclosed with the SDK. First test the connection with the CLI. If this will work the plugin should work (normally). Maybe you haven't set up the local monitor user on that host?
Which ESX versions do you run?
Regards - Martin
The 'esxcli' command works fine on all four hosts. I did notice that once I migrated guests off the host the issue moved to another host.
Is it possible it's a load issue or thread count limit? My typical ram utilization is 40% and the CPU is typically half of that. On Apr 6, 2016 5:35 AM, "Martin Fuerstenau" notifications@github.com wrote:
Hi, this seems to be a connection problem ;-)) . The command line tools from Vmware are enclosed with the SDK. First test the connection with the CLI. If this will work the plugin should work (normally). Maybe you haven't set up the local monitor user on that host?
Which ESX versions do you run?
Regards - Martin
— You are receiving this because you authored the thread. Reply to this email directly or view it on GitHub https://github.com/BaldMansMojo/check_vmware_esx/issues/88#issuecomment-206259498
I never heard of such a problem. Can you measure the time for connecting with esxcli for a host the plugin is not working?
The connection with esxcli is instantaneous or nearly.
On Apr 6, 2016, at 10:40 AM, Martin Fuerstenau notifications@github.com wrote:
I never heard of such a problem. Can you measure the time for connecting with esxcli for a host the plugin is not working?
— You are receiving this because you authored the thread. Reply to this email directly or view it on GitHub
As asked earlier: which VSphere version?
Esx 5.5 u2 Vsphere 6 On Apr 8, 2016 10:34 AM, "Martin Fuerstenau" notifications@github.com wrote:
As asked earlier: which VSphere version?
— You are receiving this because you authored the thread. Reply to this email directly or view it on GitHub https://github.com/BaldMansMojo/check_vmware_esx/issues/88#issuecomment-207454390
Am I right - you're running a mix of version 5.5 and 6? have you tested it without session file (--nosession)? Do you use an authfile or submit the user and password? Does the problem only happens with the check above or with all others? To seperate a login problem from a check timeout insert in check_vmware_esx.pl in line 1797 (after the login part before the trace part) a print "Here we are\n"; So if you test from the command line you will see the message. If this happens fast the problem is not based on login. It's based on server response. If you use the plugin in production us a copy of check_vmware_esx.pl for the test.
Regards - martin
I've had mixed results with session files And I use username password
Let me test with no session and your 'I'm here' version.
Bill On Apr 11, 2016 4:50 AM, "Martin Fuerstenau" notifications@github.com wrote:
Am I right - you're running a mix of version 5.5 and 6? have you tested it without session file (--nosession)? Do you use an authfile or submit the user and password? Does the problem only happens with the check above or with all others? To seperate a login problem from a check timeout insert in check_vmware_esx.pl in line 1797 (after the login part before the trace part) a print "Here we are\n"; So if you test from the command line you will see the message. If this happens fast the problem is not based on login. It's based on server response. If you use the plugin in production us a copy of check_vmware_esx.pl for the test.
Regards - martin
— You are receiving this because you authored the thread. Reply to this email directly or view it on GitHub https://github.com/BaldMansMojo/check_vmware_esx/issues/88#issuecomment-208235427
Session files - these are important. Otherwise you will have a lot of login/logout in your Logfiles. In case of problems with sessionfiles it's mostly an incorrect setup. But for testing it can be wise to disable as much as possible.
Martin
Is the issue resolved, if so share me the same. Even i am having the same issue.
Error that I got
CoCHECK_VMWARE_API.PL CRITICALSOAP request error - possibly a protocol issue: 500 read timeout
I use esxi 6.7 and managed by vcenter 6.7
Unfortunately I can't reproduce it. Use latest version from Plugin. It contains a lot of changes and improvements.
./check_vmware_esx.pl -H 172.16.1.11 -S cpu -s usage failes
./check_vmware_esx.pl -t100 -H 172.16.1.12-14 -S cpu -s usage works
Is there something that should be enabled on host #1?