The Extended Microsoft SQL Server Management Pack version 7.1.8570.3 monitors the availability of Microsoft SQL Server 2008, 2008 R2, and 2012. This management pack augments the existing SQL Server management pack.
This script is tested on these platforms by the author. It is likely to work on other platforms as well. If you try it and find that it works on another platform, please add a note to the script discussion to let others know.