2,187
edits
m (→Script Extracts: Added Synrtax Highlighting) |
m (Added additional note to "Available Metrics") |
||
Line 268: | Line 268: | ||
* Virtual Centre generally drops metrics during roll-ups etc (subject to configuration), therefore for the fullest range of metrics, check with the ESX direct (though only 20sec and 300sec intervals are available). | * Virtual Centre generally drops metrics during roll-ups etc (subject to configuration), therefore for the fullest range of metrics, check with the ESX direct (though only 20sec and 300sec intervals are available). | ||
** I'd suggest always trying to go via the Virtual Centre, but the data you're after isn't available, check with the ESX direct. | ** I'd suggest always trying to go via the Virtual Centre, but the data you're after isn't available, check with the ESX direct. | ||
* Be careful when retriving metrics that might have multiple instances (eg CPU), filter so as to see only the aggregate instance | |||
** <source lang="powershell">get-vmhost "esx-server*" | get-stat -Stat cpu.usage.average -MaxSamples 1 -Realtime | Where{$_.Instance -eq ""}</source> | |||
== Script Extracts == | == Script Extracts == |