If you're monitoring VMs that run on VMware's enterprise hypervisor ESX(i) and their management system vCenter, then you'll be using the vSphere SDK (vSphere) and VI SDK (VI 3.5) to do so. VMware exposes their API as a set of web services interface (SOAP) and in that sense, any scripting or programming language that can communicate via SOAP can utilize the API to do pretty much any task you can using the vSphere Client from querying basic system information, performance stats from both VMs and host, provisioning, etc.
VMware also provides a set of toolkits or "bindings" which are language specific to allow administrators and developers to create simple scripts or complex applications. These consists of PowerCLI using Powershell for Windows, vSphere SDK for Perl using Perl, vSphere SDK for Java using Java and for C#/.net. The actual API is built and exposed from both ESX(i) and vCenter and you would just use these toolkits and your credentials to connect to the web services.
You need to decide which of these languages you would like to use, but the performance metrics you're referring to are available using the vSphere SDK and that is what you'll want to use. I would recommend you taking some time to go over the two documents I reference, especially if you're new to the SDK/API from VMware, it should answer majority of your questions and how to get started based on the language you choose. Once you feel comfortable with the basics, you can also visit the developers community
http://communities.vmware.com/community/developer which includes various forums for the different language binding SDK's, including a sample code repository for the various languages.
=========================================================================
William Lam
VMware vExpert 2009
VMware ESX/ESXi scripts and resources at:
http://engineering.ucsb.edu/~duonglt/vmware/
vGhetto Script Repository
Twitter: @lamw
If you find this information useful, please award points for "correct" or "helpful".