Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Table of Contents

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

Code Block
themeEmacs
languagebash
echo ubuntu > /etc/*-release

Option 2

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

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

to

Code Block
themeEmacs
languagebash
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:

Code Block
themeEmacs
languagebash
$ENV{PERL_LWP_SSL_VERIFY_HOSTNAME} = 0;


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

Code Block
themeEmacs
languagebash
#!/usr/bin/perl -w
#
# License: GPL
# Author: Eric Enns
#
$ENV{PERL_LWP_SSL_VERIFY_HOSTNAME} = 0;
use strict;
use warnings;
use VMware::VIRuntime;