Skip navigation
Currently Being Moderated

VMWare ESXi Monitor

VERSION 11  Click to view document history
Created on: Nov 10, 2010 12:48 AM by Nick Yeates - Last Modified:  Apr 11, 2011 12:15 AM by Nick Yeates

Submitted by: Eric Enns


Description:

This ZenPack monitors general ESXi host and vm stats such as CPU, memory, and storage. Now you can watch and assure your virtual infrastructure with Zenoss.

 

The ZenPack has the following Device Class(es)

  • ESXi/zport/dmd/Devices/Server/Virtual Machine Host/ESXi

    • Performance Template VMwareHost

      /zport/dmd/Devices/Server/Virtual Machine  Host/ESXi/rrdTemplates/VMwareHost

      DataSource Datapoint Description
      VMwareHost


      cpuReservedcapacity

      cpuUsage

      cpuUsagemhz

      diskUsage

      memActive

      memGranted

      memSwapused

      sysUpTime

      Graph CPU Usage

       

      Name Type Description
      CPU UsageDataPointGraphPoint

      Graph Disk Usage

       

      Name Type Description
      Disk UsageDataPointGraphPoint

      Graph Memory

       

      Name Type Description
      Active MemoryDataPointGraphPoint
      Granted MemoryDataPointGraphPoint

      Graph Raw CPU Usage

       

      Name Type Description
      CPU Reserved CapacityDataPointGraphPoint
      CPU UsageDataPointGraphPoint

      Graph Swap

       

      Name Type Description
      Swap Space UsedDataPointGraphPoint
    • Performance Template VirtualMachine

      /zport/dmd/Devices/Server/Virtual Machine  Host/ESXi/rrdTemplates/VirtualMachine

      DataSource Datapoint Description
      VMwareGuest


      cpuUsage

      cpuUsageAvg

      cpuUsageMax

      cpuUsageMin

      diskUsage

      memConsumed

      memOverhead

      memUsage

      Graph CPU Usage

       

      Name Type Description
      CPU Usage  (Max)DataPointGraphPoint
      CPU Usage (Average)DataPointGraphPoint
      CPU Usage (Min)DataPointGraphPoint

      Graph Disk Usage

       

      Name Type Description
      Disk UsageDataPointGraphPoint

      Graph Host Memory Usage

       

      Name Type Description
      Host Memory ConsumedDataPointGraphPoint
      Overhead MemoryDataPointGraphPoint

      Graph Memory Usage

       

      Name Type Description
      Memory UsageDataPointGraphPoint

      Graph Raw CPU Usage

       

      Name Type Description
      CPU UsageDataPointGraphPoint

Installation:

First Install the dependencies since they rely on each other you will need to issue the command "zopectl restart" after each zenpack installion.

Secondly install this zenpack, then as per before do a "zopectl restart".

 

Monitoring a Device:

You must make sure you are adding a fresh device, if you already had it in zenoss delete it now.

To add the ESX/ESXi host to be monitored, run the following command in a terminal as the zenoss user "zendisc run --deviceclass=/Server/Virtual\ Machine\ Host/ESXi and  --device=ipaddress". Your device is now added and its name should be its fqdn (fully qualified domain name, also this must be lowercase because fqdn is case sensitive and will stay this way), but nothing will show up that’s because you haven't set any passwords yet. The required zProperties are as follows, zVSphereUsername, zVSpherePassword, zCommandUsername and zCommandPassword. These need to be set to the correct values (this needs to be a user setup though the vmware infrastructure client and it only needs read-only access). Now all the necessary values are set and you can re-model your device and information should start to populate.

Dependencies

ZenPacks.community.VMwareDataSource >=1.0,

ZenPacks.zenoss.ZenossVirtualHostMonitor >=2.3.0

Screenshots:

 

 


Installation Requirements:

  • Zenoss Versions Supported:2.5.X & 3.0.X
  • External Dependencies: None
  • ZenPack Dependencies:
    • ZenPacks.community.VMwareDataSource >=1.0,  ZenPacks.zenoss.ZenossVirtualHostMonitor >=2.3.0
  • Installation Notes:zenoss restart after installing this ZenPack.
  • Configuration: Configuration Properties?

History:

Change History:

  • 1.2 initial release

Tested: This ZenPack was tested with Zenoss  version 3.0.X and 2.5.X.

Source: https://github.com/zenoss/Community-Zenpacks/tree/master/ZenPacks.community.VMwareESXiMonitor/


Known issues:

Attachments:
Note: binary attachments ending in .zip will need to be unzipped before use.
Comments (92)