SQL Server Forums
Profile | Register | Active Topics | Members | Search | Forum FAQ
 
Register Now and get your question answered!
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 SQL Server 2008 Forums
 SQL Server Administration (2008)
 Weekly Health check report
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

sqlfresher2k7
Aged Yak Warrior

583 Posts

Posted - 05/14/2012 :  14:48:45  Show Profile  Reply with Quote
I would like have scripts to create a weekly report to email me the 'Health Status' of the server.

Free disk space
Job failures,
missing indexes report,
any errors in SQL Server Error log or Event Log,
overall performance
space available on the database
Security Audit
Database consistency check

jackv
Flowing Fount of Yak Knowledge

United Kingdom
1770 Posts

Posted - 05/15/2012 :  01:58:31  Show Profile  Visit jackv's Homepage  Reply with Quote
There are plenty of scripts available on the Internet. Put some together and schedule.
If you want information for multiple servers Powershell is very effective at iterating through multiple servers - logging on a and running the scripts - using a scheduler
I'd recommend you run the Error Logs report daily

Jack Vamvas
--------------------
http://www.sqlserver-dba.com
Go to Top of Page

sqlfresher2k7
Aged Yak Warrior

583 Posts

Posted - 05/18/2012 :  11:23:30  Show Profile  Reply with Quote
Thansk Jack..

I found few but most of them are not workable.I have only one server with multiple databases.

Please let me know if you have or find any workable scripts.
Go to Top of Page

jackv
Flowing Fount of Yak Knowledge

United Kingdom
1770 Posts

Posted - 05/19/2012 :  12:20:02  Show Profile  Visit jackv's Homepage  Reply with Quote
here's a few . which you may need to customise according to your requirements. Importantly , automation is important, and I'd recommend you focus on Exceptions -
http://www.sqlserver-dba.com/2011/06/sql-server-dba-top-10-automation-tasks.html
http://www.sqlserver-dba.com/2008/08/powershell_erro.html
http://www.sqlserver-dba.com/2008/08/powershell---li.html


Jack Vamvas
--------------------
http://www.sqlserver-dba.com
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.03 seconds. Powered By: Snitz Forums 2000