Nagios, and error after upgrade

After upgrade of Fedora Nagios plugin stop working and return following error message:

ESX CRITICAL - Server version unavailable at 'https://host1:443/sdk/vimService.wsdl' at /usr/local/share/perl5/VMware/ line 545, line 2.

I searched how to resolve problem and fund that I must add following line to


But this still not fixed the problem! I added some code to to check what happen and I saw following message:

:1: parser error : Start tag expected, '<' not found LWP will support https URLs if the LWP::Protocol::https module

I understood that there is some missing perl module. After installing it with:

yum install perl-LWP-Protocol-https

all works OK:

/usr/lib64/nagios/plugins/ -H host1 -f pass -l cpu
ESX OK - cpu usage=353.14 MHz (4.42%) | cpu_usagemhz=353.14Mhz;; cpu_usage=4.42%;;

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.