Hi All,
We are struggling to identify the correct set of permissions required to be able to monitor SQL instances and DBs in our estate. This is a 2 part question/issue, so bear with me
1)
What permissions are required to monitor both SQL instances and DBs? So far, we have the following assigned to our AD service account:
Windows - Logon Locally, Logon as a service. (As it happens, the service account is local admin, so shouldn't have any restrictions)
SQL - View Any Definition, View Server State, and also db_datareader on MSDB/MODEL and each user database.
In some cases, we're getting monitoring on the instance but not on the DBs, others we're not getting any monitoring at all. It seems very random, but permissions are consistent as far as we can tell.
2)
We have 2 vROps instances - PROD and NON-PROD. Both are identical versions, levels and policies, using the same version of the plugins.
In NON-PROD, we are able to discover SQL instances and the child databases.
In PROD, we only see SQL instances - there are no child objects - Checking inventory explorer in both environments we can clearly see that there are no objects of type MSSQL Agent, Analysis, Database, Databases in the PROD environment. Before anyone says anything, they DO exist!
How can this be? Is there anything we can check? Bit stumped on this one....