lpar2rrd MS SQL monitoring: SQL server permissions
Dears,
the possibilities to monitor MS SQL Servers introduced in 7.30 is a really nice feature, thanks for that!
Upon documentation, it's required to create an SQL user account:
Unfortunately, the connection test while adding a new server fails unless setting permissions on the database given in the server details. Even the connection test has been passed successful, no graphs are populated with values. I had to set 'Connect any database' on server level:
Is this the intended way?
Many thanks,
Elix
the possibilities to monitor MS SQL Servers introduced in 7.30 is a really nice feature, thanks for that!
Upon documentation, it's required to create an SQL user account:
CREATE LOGIN lpar2rrd WITH PASSWORD = 'your_passw0rd''; CREATE USER lpar2rrd FOR LOGIN lpar2rrd; GRANT VIEW SERVER STATE TO lpar2rrd;
Unfortunately, the connection test while adding a new server fails unless setting permissions on the database given in the server details. Even the connection test has been passed successful, no graphs are populated with values. I had to set 'Connect any database' on server level:
GRANT CONNECT ANY DATABASE TO lpar2rrd;
Is this the intended way?
Many thanks,
Elix
Comments
-
Hello Elix,
this is the intended. (we will add it to documentation, thank you for letting us know).
Some of the data would still be visible if users permission were just for the one DB you use in web UI form, but you would lose some metrics as the script tries to connect every DB that shows up in the results of querying this DMV "sys.dm_os_performance_counters" and then looks for additional data(Health status, relations, db size, etc.)
-
Thank you for taking care and your explanations!
BR,
Elix
Howdy, Stranger!
Categories
- 1.6K All Categories
- 41 XORMON NG
- 25 XORMON
- 149 LPAR2RRD
- 13 VMware
- 16 IBM i
- 2 oVirt / RHV
- 4 MS Windows and Hyper-V
- Solaris / OracleVM
- XenServer / Citrix
- Nutanix
- 6 Database
- 2 Cloud
- 10 Kubernetes / OpenShift / Docker
- 122 STOR2RRD
- 19 SAN
- 7 LAN
- 17 IBM
- 3 EMC
- 12 Hitachi
- 5 NetApp
- 15 HPE
- Lenovo
- 1 Huawei
- 1 Dell
- Fujitsu
- 2 DataCore
- INFINIDAT
- 3 Pure Storage
- Oracle