What is this?

This knowledgebase contains questions and answers about PRTG Network Monitor and network monitoring in general.

Learn more

PRTG Network Monitor

Intuitive to Use. Easy to manage.
More than 500,000 users rely on Paessler PRTG every day. Find out how you can reduce cost, increase QoS and ease planning, as well.

Free Download

Top Tags


View all Tags

About the new V2 Database Sensor: Credentials

Votes:

0

Hi,

I'm wondering about the new V2 Database sensor that username/passwort only can set on the Object, and not on the sensor itself. This is in your enviroment a bit unlucky since we have on some Systems more Database running with different users. It should be possible to set up username/password to the sensor.

credentials database mssql mysql-v2-sensor sensor

Created on Jun 9, 2016 12:05:44 PM

Last change on Sep 22, 2016 11:36:39 AM by  Luciano Lingnau [Paessler]



1 Reply

Accepted Answer

Votes:

0

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:

  1. Create a "prtgsql" account that has read-only access to all databases.
  2. Create multiple devices in PRTG, you can for instance name them 'Server A / john.doe' and 'Server A / john.smith')
  3. 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,

Created on Jun 10, 2016 11:09:21 AM by  Luciano Lingnau [Paessler]

Last change on Jul 29, 2016 6:57:25 AM by  Luciano Lingnau [Paessler]




Disclaimer: The information in the Paessler Knowledge Base comes without warranty of any kind. Use at your own risk. Before applying any instructions please exercise proper system administrator housekeeping. You must make sure that a proper backup of all your data is available.