You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »

Table of Contents


First Header

Getting VMWare Monitoring Working

Required installs

  • openSSL,
  • vSphere SDK Perl,
  • Vmware DataSource 1.1.2
  • Virtual Host Monitor 2.3.6 -py2.6
  • VMware ESXi Monitor 1.2
  • libxml-libxml-perl

vSphere SDK Perl

First, try the following change to see if the installer will function, if not, try the second option

Option 1

echo ubuntu > /etc/*-release

Option 2

You will need to edit the install script to get it working. Make the following changes:

if ( direct_command("cat /etc/*-release | grep -i ubuntu") || direct_command("cat /proc/version | grep -i ubuntu") ) {

to

if ( direct_command("cat /etc/*-release | grep -i ubuntu") || direct_command("cat /proc/version | grep -i debian") ) {

Edit ZenOSS Scripts to skip SSL verification

Script locations: 

/home/zenoss/zenoss/ZenPacks/ZenPacks.community.VMwareDataSource-1.1.2.egg/ZenPacks/community/VMwareDataSource/libexec/
/home/zenoss/zenoss/ZenPacks/ZenPacks.community.VMwareESXiMonitor-1.2.egg/ZenPacks/community/VMwareESXiMonitor/libexec/

add this line near the top of all of the scripts:

$ENV{PERL_LWP_SSL_VERIFY_HOSTNAME} = 0;



So for example, the header for esxi_performance.pl check looks like this now:

#!/usr/bin/perl -w
#
# License: GPL
# Author: Eric Enns
#
$ENV{PERL_LWP_SSL_VERIFY_HOSTNAME} = 0;
use strict;
use warnings;
use VMware::VIRuntime;
  • No labels