Has anybody ever graphed a VMWare VCenter server?
As far as I understand it, vCenter stores stats for all ESX servers and guests that it manages, and I'd love to be able to graph CPU, memory, disk, and network stats from this.
Any experience?
Thanks!
how do I graph VMWare vCenter Server
Moderators: Developers, Moderators
My advice: Just monitor/graph your VM's as you would do with normal physical machines.
Statistics gathered this way can also be "compared" with real physical machines
2 Alternatives, but I would not use them:
You could use the VMware SDK(running on port 8443) to gather some statistics, I've seen no template for this, so you have to develop you own.
You also can get VM statistics using SNMP on ESX hosts, but when you migrate a VM to another host(for example VMotion), the VM's counters on the 'source' ESX server are gone. Template for this can be found on this forum.
Statistics gathered this way can also be "compared" with real physical machines
2 Alternatives, but I would not use them:
You could use the VMware SDK(running on port 8443) to gather some statistics, I've seen no template for this, so you have to develop you own.
You also can get VM statistics using SNMP on ESX hosts, but when you migrate a VM to another host(for example VMotion), the VM's counters on the 'source' ESX server are gone. Template for this can be found on this forum.
The problem is, we host a lot of VM guests as a service, like "virtual colocation" so we don't have access to each guest to configure monitoring.
The most important part I need to monitor is bandwidth per guest for billing reasons.
With guests bouncing from host to host, I obviously can't do it directly from each ESX server, so I guess that leaves me with trying the SDK route (which I hadn't even thought of).
Thanks for your input!
The most important part I need to monitor is bandwidth per guest for billing reasons.
With guests bouncing from host to host, I obviously can't do it directly from each ESX server, so I guess that leaves me with trying the SDK route (which I hadn't even thought of).
Thanks for your input!
Another alternative would be to extract the data from the VirtualCenter database, and this should not be to hard if you figure out how it's stored in the database(and the data is definitely in there). The build-in reports in VirtualCenter also generate using data from the virtualcenter database.
If you want to graph it in cacti you could then create a script which extracts the transferred KB's every 5 minutes per VM.
If you want to graph it in cacti you could then create a script which extracts the transferred KB's every 5 minutes per VM.
-
- Posts: 1
- Joined: Mon May 03, 2010 2:24 am
Bumping this post.
Im after this exact thing. Monitor our hosts via vCenter for billing purposes.
Have you found a way to get this working? Or anyone else for that matter?
As i understand it, vCenter polls its hosts so i should not need (and i can't) monitor via our ESXi server sadly.
I hope someone of you have got this working and can tell me how to do it
Im after this exact thing. Monitor our hosts via vCenter for billing purposes.
Have you found a way to get this working? Or anyone else for that matter?
As i understand it, vCenter polls its hosts so i should not need (and i can't) monitor via our ESXi server sadly.
I hope someone of you have got this working and can tell me how to do it
Re: how do I graph VMWare vCenter Server
has anything came out retrieving data from the vcenter to populate cacti graphs?
Who is online
Users browsing this forum: No registered users and 2 guests