Free performance monitoring for VMware™ and IBM Power Systems™

Perl HTTPS support

If you get an errors like
  • Missing LWP::Protocol::https
  • Connection reset by peer
  • 500 SSL negotiation failed
then follow this docu and upgrade perl LWP to 6.x version.

Check actual version:
# su - lpar2rrd
. /home/lpar2rrd/lpar2rrd/etc/lpar2rrd.cfg
$PERL -MLWP -e 'print "LWP Version: $LWP::VERSION\n"'
  LWP Version: 5.86
If it is not 6.x then upgrade as per below:

  • Linux
    yum:
    # yum install perl-LWP-Protocol-https perl-Mozilla-CA perl-Crypt-SSLeay 
    
    CPAN:
    # cpan -f install LWP::Protocol:https
    
    Check:
    # rpm -qa | egrep "perl-LWP-Protocol-https|perl-Mozilla-CA|perl-Crypt-SSLeay"
      perl-Mozilla-CA-20130114-5.el7.noarch
      perl-LWP-Protocol-https-6.04-4.el7.noarch
      perl-Crypt-SSLeay-0.64-5.el7.x86_64
    
  • AIX
    • Install Perl-Crypt-SSLeay if it is not installed, download it from sourceforge.net or lpar2rrd.com
      # rpm -qa | grep -i Crypt-SSLeay
      # rpm -Uvh perl-Crypt-SSLeay-0.57-2.aix6.1.ppc.rpm
      
    • Install Perl-Net_SSLeay if it is not installed, download it from sourceforge.net or lpar2rrd.com
      # rpm -qa | grep -i Net_SSLeay
      # rpm -Uvh --nodeps perl-Net_SSLeay.pm-1.55-3.aix6.1.ppc.rpm
      
    • Install Perl libraries and other scripts under lpar2rrd user if your LPAR2RRD version is below 5.05.
      Download package from here
      # su - lpar2rrd
      $ umask 022
      $ cd /home/lpar2rrd/lpar2rrd
      $ gunzip https_aix_support.tar.Z
      $ tar xvf https_aix_support.tar
      $ ls -l lib/LWP/Protocol/https.pm 
        -rwxr-xr-x    1 lpar2rrd staff          6734 Sep  2 12:21 lib/LWP/Protocol/https.pm
      
    • Verify it, it must show 6.06 version.
      # su - lpar2rrd
      . /home/lpar2rrd/lpar2rrd/etc/lpar2rrd.cfg
      $PERL -MLWP -e 'print "LWP Version: $LWP::VERSION\n"'
        LWP Version: 6.06
      
  • Solaris follow this to get it working

After installation on any platform this test should not provide any output:
cd /home/lpar2rrd/lpar2rrd
. etc/lpar2rrd.cfg
$PERL bin/perl_modules_check.pl