Thanks for the links, this plugin looks great for monitoring ESX hosts and VMs directly, I'll be attire to check it out as I'm not monitoring anything in this manner.
It's not quite what I'm after as a replacement to my above script for problem desktops, which I've still not had a chance to properly investigate since my move to View 5.1.2.