Health check TSQL for monitoring

bsarahim
bsarahim used Ask the Experts™
on
AS a SQL Server DBA, every day he has to healthchecks of the databases, healthcheck like memory,errors, logs, etc(which are critical) needs to be monitor once in a while
is there is any single/multiple T-SQL script where i can run in one shot to get my sql server healthcheck displayed or can we automate?

sql servers 2008 and above
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
ste5anSenior Developer

Commented:
First of all there are Brent Ozar's scripts:  sp_blitz.

But when databases mean many databases across multiple instances, then you should look at some monitor tools: PRTG, Spiceworks, Redgate.

The first two offer free versions.

Author

Commented:
Thanks.. Pls note.. I cant create or update any objects on the server and im having a sysadmin and I should not install any thirdparty tools.. companies policies are very strict..
ste5anSenior Developer

Commented:
Well, things being worth to be done, should be done the right way, shouldn't they?

And the business reason/value of automating tasks should be obvious.

And last, but not least: A SQL Server DBA can create, update or delete objects. That's why he is DBA.
Ensure you’re charging the right price for your IT

Do you wonder if your IT business is truly profitable or if you should raise your prices? Learn how to calculate your overhead burden using our free interactive tool and use it to determine the right price for your IT services. Start calculating Now!

Author

Commented:
i completely agree with you.. but the IT policy is like this.. I should NOT install any softwares, create views, create a database, update table, etc

Im looking for a script, where i can get more info from sysadmin/users database on environment level and General scripts, with out adding our updating the current databases..

Thanks for understanding..
Vitor MontalvãoIT Engineer
Distinguished Expert 2017

Commented:
If all companies will be able to invest in monitoring tools like BMC Patrol or MS SCOM, they will reduce DBAs and SAs workload as those tools can notify the Administrators on what is going wrong in the servers so they can react immediately.
Topic Advisor, Page Editor
Distinguished Expert 2018
Commented:
Depends on what kind of check list - if it is along the lines of "Is my SQL Server running optimally" then there is a lot we need to know about your site.

For example, here is a checklist for a single DB : https://red9.com/blog/sql-server-database-health-check-checklist

Brad McGehee has always produced a good checklist : https://www.red-gate.com/simple-talk/sql/database-administration/brads-sure-dba-checklist/  and http://www.sqlservercentral.com/blogs/aloha_dba/2010/10/04/sql-server-database-maintenance-checklist/

And an oldie,  but a goodie is : https://www.mssqltips.com/sqlservertip/1240/sql-server-dba-checklist/

And a wider ranging checklist by Jason Strate covering items you may not have considered : https://jasonstrate.com/monthly-sql-server-checklist/ like mainstream support retirement.

So, a lot of it really depends on what you are really asking for :) And the reason why there isnt "a" definitive list - it really does depend on your environment :)

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial