SQL Diagnostic Manager allows you to monitor SQL Server instances without SysAdmin rights. However, these lowered permissions limit the availability of data.
The user creation scripts are detailed, as follows:
Minimum permissions on premises
SQL Diagnostic Manager now includes a SQL script to create new user with minimum permissions necessary for the product to function
- Use the Find/Replace function to locate and replace all references of 'SQLdmCollectionUser' with the SQL user that is being used for monitoring the SQL Server instance.
- Connect to the SQL Server that you want to monitor with Admin user and run this script to create the SQL user with the minimum permissions required to view the data on most of the screens of the application.
Find the MinimumPermissionsOnPremises.sql script below:
Recommended permissions on premises
SQL Diagnostic Manager also includes a SQL script to create new user with minimum permissions necessary for the product to function.
- Use the Find/Replace function to locate and replace all references of 'SQLdmCollectionUser' with the SQL user that is being used for monitoring the SQL Server instance.
- Connect to the SQL Server that you want to monitor with Admin user and run this script to create the SQL user with the recommended permissions to view the data on most of the screens of the application.
Find the RecommendedPermissionsOnPremises.sql script below: