check_esx3.pl times out after applying ESXi 5.1 U3 patch

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
isat-iad
Posts: 11
Joined: Fri Mar 07, 2014 6:15 am

check_esx3.pl times out after applying ESXi 5.1 U3 patch

Post 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
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

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

Post 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
Be sure to check out our Knowledgebase for helpful articles and solutions!
isat-iad
Posts: 11
Joined: Fri Mar 07, 2014 6:15 am

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

Post 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
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

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

Post 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
Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked