Hello Oliver,
thank you for your post.
Conceptually, credentials (SNMP, WMI, now Database) must be set at DEVICE, GROUP, PROBE or ROOT level, the old approach using credentials in the sensor's settings makes it impossible to use device templates, is also harder to maintain (for instance if you update a password used in several sensors).
If you currently have an SQL Server running sensors with multiple credentials, there are a couple of alternatives:
- Create a "prtgsql" account that has read-only access to all databases.
- Create multiple devices in PRTG, you can for instance name them 'Server A / john.doe' and 'Server A / john.smith')
- Switch to a custom script sensor option using a scripting-language of your choice, this gives you complete flexibility regarding the credentials that you'll use.
Best Regards,
Add comment