Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2008 Forums
 SQL Server Administration (2008)
 Weekly Health check report

Author  Topic 

sqlfresher2k7
Aged Yak Warrior

623 Posts

Posted - 2012-05-14 : 14:48:45
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
Master Smack Fu Yak Hacker

2179 Posts

Posted - 2012-05-15 : 01:58:31
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

623 Posts

Posted - 2012-05-18 : 11:23:30
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
Master Smack Fu Yak Hacker

2179 Posts

Posted - 2012-05-19 : 12:20:02
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
   

- Advertisement -