Table of Contents


First Header

Getting VMWare Monitoring Working

Required installs

vSphere SDK Perl

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") ) {

Next, install the following packages:

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;