SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
Search:  
 
 

Monitor Any Linked Server From SQL 2000

By Sakthivel Chidambaram, 2008/07/11

Total article views: 995 | Views in the last 30 days: 37

Hi,

DBA's often monitor Backups, Replication e.t.c manually or through some automation but there is one thing which needs to be monitored is linked server. Often there may be some issue in linked server and DBA's will not know till Application user raises issue. Also there is a straight method (sp_TestLinkedServer) to test linked servers in SQL 2005 will say pass even the Access is deleted from the path. So this script will help you to monitor Linked servers from SQL 2000 and i have posted another SQL 2005 version of this script.

Also fine below the test i have done on this script and options available to test linked servers.

Below are the tests done and their status.

The RED issues cannot be captured in SQL 2000 (No option to TRY/CATCH ???) and thus why it is good to monitor linked servers from SQL 2005.

Below are the options available to test linked server

In the above we cannot use sp_tableex since incase SQL server is not running or access denied etc then runtime error will come so only we are using sp_OA.

Any enhancements/suggestions are always welcome!

By Sakthivel Chidambaram, 2008/07/11

Total article views: 995 | Views in the last 30 days: 37
Your response
 
 
Related tags
 
 
Contribute
Like this? Try these...

Tips on Getting Hired – Part 5

By | Category: Blogs
(not yet rated)  Rate this | 1,124 reads

I vant your blud!

By Wayne West | Category: Editorial
(not yet rated) | 58 reads

Free registration required...

To read the rest of this article, and access thousands of other articles, we ask you to register on the site and subscribe to our newsletters.

Login (existing users)

Login

Email:   Password:   Remember me: Forgotten your password?

Register (new users)

Register

Email:   Password:
Confirm:

Subscribing to our newsletters gets you:

  • ALL of our content (thousands of articles, scripts, and forum postings)
  • A daily newsletter (example)
  • A weekly news round up (example)
  • The opportunity to ask and answer questions in our forums
  • A daily Question of the Day to test and help you increase your knowledge of SQL Server.

Steve Jones
Editor, SQLServerCentral.com