Archived community.zenoss.org | full text search
Skip navigation
1 2 Previous Next 10520 Views 17 Replies Latest reply: Dec 19, 2013 12:04 PM by Jussi Talaskivi RSS
Eric Gemme Rank: White Belt 30 posts since
Aug 5, 2011
Currently Being Moderated

Sep 28, 2012 11:06 PM

esxtop with Zenoss 4.2

Hi,

 

I'm currently testing Zenoss 4.2 in order to deploy it as soon as I straighten all annoyances.

 

One show stopper I encounter is I can't make esxtop work properly in Zenoss.   Resxtop works well from command line.   check_esxtop as well.   But in Zenoss,  all I get is a component named "Virtual Machines" with the number of Vm's on the host.   But clicking this componed won't list any vm's on the right pane.   The events list for this device says "No data returned from this command".

 

zCommandUserName and Password are set for the esxtop class.   Modeling seems to act correctly.

 

Is anybody having problems with esxtop under Zenoss 4.2?

 

In 3.2,  I used to use VMWare Esxi monitor because I couldn't make esxtop work at that time.  So I'm new to esxtop.  I thought it is a good idea to use it as it is supplied with the core zenpack bundle.

 

I run zenoss in CentOS 6.1 with most current packages.

 

Thanks

  • geotek Rank: White Belt 81 posts since
    Jun 11, 2007
    Currently Being Moderated
    2. Oct 9, 2012 5:15 AM (in response to Eric Gemme)
    Re: esxtop with Zenoss 4.2

    Tried it but didn't work with VMware CLI SDK 5.1 because of bora panic "buffer too small" errors. Had to delete and recreate all ESXi servers in Zenoss because they were filled with phony VM entries that could not be removed.otherwise.

  • Ryan Matte ZenossMaster 653 posts since
    Mar 26, 2009
    Currently Being Moderated
    3. Oct 12, 2012 6:01 AM (in response to Eric Gemme)
    Re: esxtop with Zenoss 4.2

    I need to do ESX monitoring with 4.2 soon so I'll test it and let you know.

  • briffle Rank: White Belt 47 posts since
    Mar 11, 2011
    Currently Being Moderated
    5. Jan 14, 2013 11:46 AM (in response to Eric Gemme)
    Re: esxtop with Zenoss 4.2

    sorry to necropost, but did anyone else manage to get esxtop to work with zenoss 4.2?  I'm also running centos 6.x like the original poster, and am having a heck of a time getting either the esxi zenpack, or esxtop to work.

  • nayrbmai Newbie 1 posts since
    Jan 18, 2013
    Currently Being Moderated
    7. Jan 18, 2013 6:01 PM (in response to Eric Gemme)
    Re: esxtop with Zenoss 4.2

    vCLI 5.1 has a mandatory SSL certificate string that wasn't supposed to be there.  If you are using the default self signed, then there are options for workarounds.  I just installed vCLI 5.0.0 and made it work..  But here's more options..

     

    http://blogs.vmware.com/vsphere/2012/11/resxtop-fails-to-connect-to-a-vsphere-5-1-host.html

  • Doug C Rank: White Belt 31 posts since
    Oct 22, 2012
    Currently Being Moderated
    9. Jan 25, 2013 9:04 PM (in response to Eric Gemme)
    Re: esxtop with Zenoss 4.2

    Here's the solution to the SSL certificate check:

     

    http://communities.vmware.com/thread/426152

     

    basically add something like this to Zenoss's .bashrc

     

    export HTTPS_CA_FILE=/etc/pki/tls/certs/ca-bundle.crt

    export HTTPS_CA_DIR=/etc/pki/tls/certs

     

    However, it still doesn't work for me because I get the buffer too small error.  I'm using Zenoss 4.2.3 and vSphere 5.1.

  • rklingaman Rank: White Belt 38 posts since
    May 13, 2010
    Currently Being Moderated
    10. Feb 13, 2013 1:00 PM (in response to Doug C)
    Re: esxtop with Zenoss 4.2

    This is actually an issue with us here as well. Last time I attemted to get something working It just didn't work or work to the level that I wanted it to.

     

    Zenoss has been great with all our monitoring here but with our strong VMware infrastructure, Zenoss in my opinion is falling behind here and this is huge part of monitoring. So much so that we are looking at another tool to just monitor the VMware infrastructure though as always it doesn't do everything like application monitoring so we are going to be end up using two tools to do this.

     

    I really wish Zenoss would build it more into thier core for monitoring this.

  • Michael Gugino Newbie 1 posts since
    May 7, 2013
    Currently Being Moderated
    12. May 7, 2013 4:22 PM (in response to Eric Gemme)
    Re: esxtop with Zenoss 4.2

    I also struggled with esxtop zenpack.  I was experiencing the buffer too small error.  This appears to be a problem with how subprocess is being used in python.

     

    I was able to get the zenpack somewhat working by editing the resxtop function as follows:

     

    [code]

    def resxtop(self, command):

            import os

            """

            Run the resxtop command and return the output into a cache file,

            or die and print the error message.

            """

            password = self.options.password

            env = dict(VI_PASSWORD=password)

           # proc = subprocess.call(command, stderr=PIPE, shell=True)

           # proc.check

            os.system(command)

    [/code]

     

    Unfortunately, while the VMs are listed under the guest section of the device page, so is a bunch of other junk.

     

    FYI, the SSL bug in vSphere CLI was corrected a couple of days ago, so be sure to download CLI 5.1 update 1 if you're trying to use this or other zenpacks that utilize CLI tools.

  • keamas Newbie 5 posts since
    Jul 29, 2010
    Currently Being Moderated
    13. Oct 11, 2013 3:47 PM (in response to Eric Gemme)
    Re: esxtop with Zenoss 4.2

    PLEASE HELP!!!!

    I need a working VMware ESXi Plugin for Zenoss 4.2.4.


    Can anyone fix the ESXTop Plugin please or write a new plugin for Zenoss to monitor ESX?

  • Jussi Talaskivi Rank: White Belt 21 posts since
    Jul 29, 2007
    Currently Being Moderated
    14. Nov 20, 2013 4:27 AM (in response to keamas)
    Re: esxtop with Zenoss 4.2

    I've put together a working version (atleast for me) of the ESXTop Zenpack. It is available in the GitHub:

    https://github.com/ju55i/ZenPacks.zenoss.EsxTop/tree/develop

     

    It works at least with the 5.0 version of the resxtop. I've also optimized it a little bit. There was a import from ZenUtils in the check_esxtop command which triggers lots of other imports and causes a massive slowdown. I brought the imported function straight to the module.

1 2 Previous Next

More Like This

  • Retrieving data ...

Legend

  • Correct Answers - 4 points
  • Helpful Answers - 2 points