I found a wounded server today that had been v-motioned onto an ESXi host that was having resource allocation issues. By wounded I mean it was still green in SW but, it was very slow and sluggish. The Windows VM showed 62% CPU used and 20% of its memory still available. I wasn't getting much out my VMAN integration other than there were several VM guest on the host in a critical state. I don't alert on that because I do all the Windows monitoring, and I find alerting on host is critical to produce many false positives. That said, I did notice that VM response time over the period of the issue was significantly higher than its average. How would you go about producing the alert I have described in the subject? Sounds like Custom SWQL or SQL to me. I'm not finding anything OOB as a starting point that doesn't use QoE. Maybe Something like this?
SELECT Nodes.SysName, Nodes.DisplayName, Nodes.[AvgResponseTime], Nodes.[ResponseTime], Nodes.[AvgResponseTime]*10 AS theResult
FROM Orion.Nodes AS Nodes
WHERE Nodes.[Status] = '1'
AND Nodes.[AvgResponseTime] > 0
AND (Nodes.[ResponseTime]) > Nodes.[AvgResponseTime]*10