VMware {code} Community
ekuzmack
Contributor
Contributor

Create custom performance counters?

I heard about the demo at VMworld where IBM showed power utilization in the vCenter console and this made me wonder - is it possible to create custom performance counters so they become available for reporting in the same way that other counters are?

An example would be to have a chart that shows CPU temp along with CPU utilization. The CPU temp is already read via IPMI, but doesn't appear to be stored anywhere.

I looked through the SDK documentation and couldn't find anything specific - I assume that a new PerfomanceProvider would be required, but I didn't see anything that let you create your own providers.

thoughts?

thanks!!

Tags (3)
Reply
0 Kudos
5 Replies
lamw
Community Manager
Community Manager

Take a look at the following documents:

There are also additional webinars on performance counters/monitoring here: http://communities.vmware.com/community/developer/learn/webinars

=========================================================================

William Lam

VMware vExpert 2009

VMware ESX/ESXi scripts and resources at:

VMware Code Central - Scripts/Sample code for Developers and Administrators

VMware Developer Comuunity

Twitter: @lamw

If you find this information useful, please award points for "correct" or "helpful".

Reply
0 Kudos
ekuzmack
Contributor
Contributor

Thanks for the reply.

I'm not looking to retrieve existing counters - I'm looking to create a new counter that I would populate with my own data.

Is this possible?

thanks

Reply
0 Kudos
lamw
Community Manager
Community Manager

If you're looking to add any 'custom' data, take a look at using the customField for either a host or virtual machine.

Here is a script that can help:

=========================================================================

William Lam

VMware vExpert 2009

VMware ESX/ESXi scripts and resources at:

VMware Code Central - Scripts/Sample code for Developers and Administrators

VMware Developer Comuunity

Twitter: @lamw

If you find this information useful, please award points for "correct" or "helpful".

Reply
0 Kudos
ekuzmack
Contributor
Contributor

Thanks for the reply -

I'm not sure I'm getting my point across - I'm looking to create custom performance counters, not just custom fields. Is that possible?

thanks

Reply
0 Kudos
lamw
Community Manager
Community Manager

no

=========================================================================

William Lam

VMware vExpert 2009

VMware ESX/ESXi scripts and resources at:

VMware Code Central - Scripts/Sample code for Developers and Administrators

VMware Developer Comuunity

Twitter: @lamw

If you find this information useful, please award points for "correct" or "helpful".

Reply
0 Kudos