There's a problem in the Perl module Net::HTTP versions 6.05 and 6.06 (at least up to the date of writing this post) that drops this error when running check_esx/check_vmware_api, no matter which version of VMWare API is being used.
The solution is based on downgrading Net::HTTP to its version 6.03. In order to check the installed module version (and thus determining that the problem matches the previously described), run this command from a shell session:
cpan -D Net::NTTP
... and in order to downgrade it, run this command:
cpan install GAAS/Net-HTTP-6.03.tar.gz
Once done, you could find that, though the error message has changed, you continue getting an error when running the check_esx3/check_vmware_api. That's due because Net::HTTP and libwww-perl Perl modules doesn't match after downgrading the first one, so you have to downgrade libwww-perl too in order to solve the problem. To do it run this command from a shell session:
cpan install GAAS/libwww-perl-6.03.tar.gz
Tweet |
|
No comments:
Post a Comment