TECHZEN Zenoss User Community ARCHIVE  

VMware ESXi ZenPack - input requested for update

Subject: VMware ESXi ZenPack - input requested for update
Author: Jane Curry
Posted: 2015-09-08 04:30

I am currently re-writing bits of the excellent ZenPacks.community.VMwareESXiMonitor ZenPack ( http://wiki.zenoss.org/ZenPack:VMware_ESXi_Monitor ) to use the PythonCollector rather than getting data using zencommand (which is very costly with lots of VMs / datastores). I am also updating it to use the new zenpacklib which eases a lot of the code-writing (especially the javascript stuff).

A question here especially for the original developers, Eric Enns and Matthias Kittl, but also for anyone else using this ZenPack. In current form, my ZenPack is a different distinct entity but has the same object types, classes, datasources, templates etc as the original. For testing at least, I am ensuring that the older ZenPack is not installed. My thoughts are to eventually swap it around so that it is an upgrade to the old ZenPack and just create a new version. This should mean that it is much easier for folk to upgrade, without the risk of losing discoverd devices, vms and datastores - but it must be well tested or there is potential for a real mess.

What thoughts does anyone have about the merits of a different ZenPack (and you would have to uninstall the old one first) versus an upgrade to the existing one

Does anyone have the interest and a test environment to help testing

Another consideration is whether folk have created local copies of the ESXiHost, ESXiVM or ESXiDatastore templates I suspect that you are going to lose these by default. Will anyone care

I would be very interested in any input - please email me directly at jane.curry@skills-1st.co.uk - as well as updating the thread here. - on the wiki. We could also discuss on the IRC channel.

Cheers,
Jane

Email: jane.curry@skills-1st.co.uk    Web: https://www.skills-1st.co.uk



Subject: I'd be interested in seeing
Author: [Not Specified]
Posted: 2015-09-08 13:15

I'd be interested in seeing the results, or more examples of zenpacklib. I'm in the process of trying to update the SNMP VMware zenpack to work with vmware 5.x (the field numbers/names of the oids changed since the pack was last updated).



Subject: I now have a beta version of
Author: Jane Curry
Posted: 2015-09-14 09:38

I now have a beta version of this available for testing. Please note - TESTING. I would strongly suggest you currently only install this in a backed-up development environment.

Please note the pre-reqs. You do NOT need any ZenPacks other than PythonCollector >=1.6 . You do NOT need the vSphere Perl SDK. You DO need the Python pyvmomi vSphere SDK. You DO need PyYaml (to support zenpacklib).

The code is available at https://github.com/jcurry/ZenPacks.community.VMwareESXiMonitorPython . Use the "Download ZIP" button on the right to get the packaged zip file, unzip the file, and install in development mode with:

zenpack --link --install ZenPacks.community.VMwareESXiMonitorPython

Restart Zenoss.

I have only tested this with Zenoss 4.2.5 so far. Anyone who could test in a Zenoss 5 environment, feedback would be most appreciated. Also only tested against VMware Workstation 9.0.1 and ESXi 5.1.0 - again, I would appreciate results from other environments.

Cheers,
Jane

Email: jane.curry@skills-1st.co.uk    Web: https://www.skills-1st.co.uk



Subject: I was using the old zendpack,
Author: [Not Specified]
Posted: 2015-09-15 10:40

I was using the old zendpack, but i stoped cause it flooded the vcenter database with logins, and crashed my vcenter server :P

I understand that this wont be an issue with your update

My original issue could be solved by automated cleanup of the database, but i also stoped using it cause it would TOTALY breakj uppon updating Zenoss 5.0.* to a newer version. (i had to reinstall either zenoss from scratch or forcefully remove ALL zenpacks, stock and custom, and reinstall them all by hand).



Subject: Hello Jane.
Author: ValeruS
Posted: 2016-02-29 15:36

Hello Jane.

I have question.

In Your modified zenpack, can you add new Proprerties called zVSphereHost(IP/Hostname)

to put in this field IP of vmware server.

I need this (for me or maybe for other) to monitor physical HP Servers via iLO4
and vmware VMGuest.. DataStore.. at the same device(do not create 2 separe device)
Primary IP (device.manageIp) from iLO4
and from Properties zVSpereHost of physical server of vmware.

"If not set zVSphereHost default IP get from device.manageIP"

Thanks.




< Previous
ZenPacks.community.ConstructionKit example files missing
  Next
How to add a button to a .pt in a ZenPack which executes device code?
>