This isn't exactly related, but I accidentally deleted this widget on the Sprawl dashboard when trying to do some cleanup. Could someone with the latest version give me the query text for the Top-N: VM CPU Underallocated widget? Thanks.
Search query: vm.cpuload.week:[70 TO *] AND vm.powerstate:poweredOn
Notification value: if (/virtualMachine/cpuCount < 16) then concat('Increase ', /virtualMachine/cpuCount, ' to ', (if ((/virtualMachine/cpuCount * /virtualMachine/cpuUtilization/week/text()) <= 160) then 2 else if ((/virtualMachine/cpuCount * /virtualMachine/cpuUtilization/week/text()) <= 320) then 4 else if ((/virtualMachine/cpuCount * /virtualMachine/cpuUtilization/week/text()) <= 640) then 8 else 16)) else 'Reduce load'
Thanks. The sort field on that is vm.cpuload.week as well I assume?
Sort field is vm.cpuCount