Why go to all this trouble, and have to modify the script each time changes are introduced? Better to use Compuware's ServerVantage software which will monitor your SQL Server for your, give you on-screen visual/email/pager notification, reports, plus a TON more. Check it out at: