Quick Fix: check_esx3.pl errors

I did a new install of Nagios recently and went to use the check_esx3.pl plugin and was quickly reminded of a couple of errors that it liked to spew out. Coincidentally there was also a post on the Nagios forums which prompted me to write this little guide to working around the issues.

First error of the day:

/usr/bin/perl: symbol lookup error: /usr/lib/perl/5.14/auto/Crypt/SSLeay/SSLeay.so: undefined symbol: Perl_Gthr_key_ptr

This one is simple to fix:

cpan Crypt::SSLeay

Second one is a little more cryptic:

CHECK_ESX.PL CRITICAL - Server version unavailable at https://vmw-vc-ip:443/sdk/vimService.wsdl at /usr/share/perl/5.14/VMware/VICommon.pm line 545.

The fix however is also simple:

vi check_esx3.pl

#After all the use statements add the following line

This will essentially tell it not to verify the certificate for the SSL connection, which is going to be fine 99% of the time because, well… you presumably trust your own infrastructure.

comments powered by Disqus