Table of Contents


First Header

Getting VMWare Monitoring Working

Required installs

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;