SQL Agent Insights:Documentation:Connecting to an Instance: Difference between revisions

From SQL Agent Insights Wiki
No edit summary
Line 64: Line 64:
[[File:connection-actions-tab.png|frame|When all connection options are set satisfactorily, click on the Test Connection button. Passing all actions successfully enables the option to Open the Insight.]]
[[File:connection-actions-tab.png|frame|When all connection options are set satisfactorily, click on the Test Connection button. Passing all actions successfully enables the option to Open the Insight.]]
|
|
[[File:connection-actions-error-tab.png|frameless]]
[[File:connection-errors-tab.png|frameless]]
[[File:connection-errors-tab.png|frameless]]
|-
|-

Revision as of 02:24, 3 February 2023

Applies to: Error creating thumbnail: Unable to save thumbnail to destination SQL Agent Insight (all supported versions unless otherwise noted)

Connecting to an Instance of SQL Server®

This article will assist in connecting to an instance of SQL Server to start monitoring the SQL Agent in that instance quickly. There are multiple ways to connect to a SQL Server instance with SQL Agent Insight, including:

  • Clicking on the New Insight button in the toolbar,
  • Selecting New Insight… from the File menu,
  • Double-clicking a server name from the list of Available SQL Servers, post enumeration,
  • Double-clicking a server name from the list of Previously Connected Servers, or,
  • Pressing the key sequence, CTRL+N

Depending on the action taken above, the server as it appears in the Connect to SQL Server dialog can be automatically populated.


NOTE
The option to manually enter a server / instance name is always available; just start typing when the focus is in the Server dropdown menu of the Connection dialog. A successful connection will place that SQL instance into the Previously Connected Instances pane for quicker connections in the future.


When entering a SQL server instance name manually, ensure to follow SQL Server instance naming conventions. Additionally, if the SQL Server instance requires a specific port, it can be included after the instance name, separated by a comma.

The Connect to SQL Server dropdown will always contain any instances of SQL that have been enumerated. Post server/instance selection, toggle Windows Authentication on or off. Turning off Windows authentication will enable the SQL User and SQL Password textboxes for entry.

The Connection dialog showing examples of entering a SQL Server® instance manually.


NOTE
At the time of this writing, the user account (Windows or SQL authentication) must have sysadmin privileges for the SQL Server instance.


After deciding on the authentication method (Windows or SQL), the connection dialog has an option to start the Insight in maintenance mode. Starting the Insight in maintenance mode has the following benefits:

  • All metrics immediately go into a state of maintenance (they will appear grey within the Insight),
  • No new alarms for this instance will appear in the dashboard,
  • No email notifications are sent, if they are enabled for the Insight, and,
  • No warning or critical logging of threshold breaches will occur within the Insight log.


PRO TIP

Enable Start Insight in Maintenance Mode initially, until the configuration of all individual metric thresholds have been set to prevent unnecessary Insight logging and email notifications from occurring.

Additionally, the option to starting all Insights in maintenance mode automatically can be enabled in SQL Agent Insight’s preferences.


Error creating thumbnail: Unable to save thumbnail to destination
When all connection options are set satisfactorily, click on the Test Connection button. Passing all actions successfully enables the option to Open the Insight.


Back to Documentation Main


Microsoft®, Windows® and SQL Server® are registered trademarks of Microsoft Corporation in the United States and/or other countries.
Some icons courtesy of Icons8