Recently joined a new company and the production ESX farm doesn't keep any performance metrics does anyone know of a way to solve this?
If I view realtime metrics it works but if i change to Day/Month/All time it doesn't show any data
I will try to post more information tomorrow once back at work if needed.
You have to be using vCenter for this. Using the Infrastructure Client connect to the vCenter server. In the menus, select "Administration" then "VirtualCenter Management Server Configuration...". There need to be check marks next to the Interval Durations.
Long story short, you need to increase the level of the statistics that vCenter is collecting. Doing so will dramatically increase the size of your vCenter database, but will give you access to a larger set of tracked values.
Read the administration guides for vSphere (4.1, chapter 9 and 4.0, chapter 22). These will show you how to increase the logging levels, and what stats get kept at each level.
Once you increase the levels, you'll need to wait until the statistics roll up jobs get run before the additional counters are made available in the vCenter performance tab. Given that, don't worry if it takes 24 hours before you get the ability to select them.
According to VMware the issue is due to a corrupt template that we use to build machines.
If we build a new VM it is working fine and we have been advised to recreate our template machine