|Komponente||Checks & Agents|
|Titel||MSSQL Agent Plugin: Can now be configured to auth as database user|
|Checkmk Edition||Checkmk Raw Edition (CRE)|
|Kompatibilität||Kompatibel - benötigt kein manuelles Eingreifen|
The mssql.vbs script can now be configured to authenticate as database user using a configured username / password combination. Previously it was only possible to authenticate using the system privileges of the user the agent is running with. This is still the default.
If you need to authenticate as database user, you need to create a file named mssql.ini, or if you need it instance specific, mssql_[instance-id].ini. You need to write the following content into this file:
[auth] type = db username = monitoring-user password = mysecretpw