March 25, 2016 at 5:41 am
Anyone has a documentation how to achieve monitoring of all the SQL database status in an environment using a SSIS package. My goal is to run this package every 15 minutes and send an alert if database state is not online or the server is unable to connect.
Many thanks!
March 25, 2016 at 6:56 am
I'm unclear why you would do this using SSIS? If you're just polling the instances for connectivity, you could easily do this through T-SQL or Powershell. Building SSIS is an odd choice.
"The credit belongs to the man who is actually in the arena, whose face is marred by dust and sweat and blood"
- Theodore Roosevelt
Author of:
SQL Server Execution Plans
SQL Server Query Performance Tuning
March 25, 2016 at 9:56 am
Was trying to avoid linked servers(sql) and extra server level permissions(Windows).
Basically running an SSIS package from an instance will need to have access on sql server instance level, not on server level.
Thanks!
March 25, 2016 at 10:02 am
You should be able to do anything with other mechanisms without having to use SSIS. I'm really not aware of anyone who uses SSIS as a monitoring tool. I'll be interested to see what kinds of follow-ups you get.
"The credit belongs to the man who is actually in the arena, whose face is marred by dust and sweat and blood"
- Theodore Roosevelt
Author of:
SQL Server Execution Plans
SQL Server Query Performance Tuning
March 25, 2016 at 1:19 pm
Thanks Grant. Do you have a documentation to accomplish this with out ssis.
March 26, 2016 at 7:58 am
Not precisely. It's just a question of running a query against the database or server through a SQL Agent Job. There isn't that much to it. Agent can run independent from the server. The issue is if it's offline. You can also use windows scheduler to the same thing with a Powershell script to run the command. It should all be pretty straight forward.
"The credit belongs to the man who is actually in the arena, whose face is marred by dust and sweat and blood"
- Theodore Roosevelt
Author of:
SQL Server Execution Plans
SQL Server Query Performance Tuning
March 29, 2016 at 8:25 am
I've done this before using SSIS running on a Central Management Server.
Here are some links which you may find useful.
https://www.simple-talk.com/sql/sql-tools/registered-servers-and--central-management-server-stores/
http://ask.sqlservercentral.com/questions/34972/central-management-servers.html
Viewing 7 posts - 1 through 6 (of 6 total)
You must be logged in to reply to this topic. Login to reply