Page 1 of 1

check_esx3.pl times out after applying ESXi 5.1 U3 patch

Posted: Fri Feb 13, 2015 1:28 pm
by isat-iad
Hello,
We had a number of checks using the check_esx3.pl plugin successfully working for a number of months until we recently applied a ESXi 5.1 Update 3 which includes the following patches:
ESXi510-201412201-UG: Updates ESXi 5.1 esx-base vib
ESXi510-201412202-UG: Updates ESXi 5.1 tools-light vib
ESXi510-201412203-UG: Updates ESXi 5.1 scsi-megaraid-sas vib
ESXi510-201412101-SG: Updates ESXi 5.1 esx-base vib

Now the plugin times out. On further inspection, the plugin returns results but these take between 85 and 200+ seconds. The ESXi servers are not under any significant load, network issues have been ruled out (as RTT is < 1ms) and a https get (via wget) on the ESXi management pages is < 1 sec.

From reading similar threads I tried:
-- updating perl-libwww
-- update check_esx3.pl to 3.0.5
Neither of these tasks helped, and still plugin response time is very slow.

I know this must be related to the latest patch applied to ESXi as it was working fine before, but are you aware of any fixes or workarounds?

Thanks,
Michael

Re: check_esx3.pl times out after applying ESXi 5.1 U3 patch

Posted: Fri Feb 13, 2015 2:21 pm
by lmiltchev
From reading similar threads I tried:
-- updating perl-libwww
-- update check_esx3.pl to 3.0.5
Can you provide us with links to these threads? How did you update the plugin? Run the following command and show us the output:

Code: Select all

/usr/local/nagios/libexec/check_esx3.pl -V
yum list installed | grep perl-libwww

Re: check_esx3.pl times out after applying ESXi 5.1 U3 patch

Posted: Wed Mar 11, 2015 9:45 am
by isat-iad
Hi,
Apologies for the delayed response - here is the output of the commands with versions:

Code: Select all

check_esx3.pl 0.2.0
perl-libwww-perl.noarch          5.833-2.el6               @anaconda-RedHatEnterpriseLinux-201311111358.x86_64/6.5

Re: check_esx3.pl times out after applying ESXi 5.1 U3 patch

Posted: Wed Mar 11, 2015 11:50 am
by tgriep
It looks like your check_esx3.pl didn't get updated.
I found a newer version of the check_esx3.pl check from the developer.
I did a quick test and is seems to work without needing to do any other upgrades.
Just make a backup of the old script in case it doesn't work for you.

Here is the link to it.
https://github.com/shinken-monitoring/p ... er/libexec