hi, sind update the ado sql sensor ask me for a "provider"... it was working until now with this connection string:

Driver={PostgreSQL UNICODE};Server=192.168.200.120;Port=5432;Database=Contact;Uid=postgres;Pwd=#########;

What "Provider" should i set there?

(its a windows server for postgres)


Article Comments

Dear q16marvin,

I have some questions here. What error message are you getting? From which version did you update PRTG?


Oct, 2017 - Permalink

from 15... to 17...

Issue:

An OLE DB Provider was not specified in the ConnectionString. An example would be, 'Provider=SQLOLEDB;'.


Oct, 2017 - Permalink

Dear q16marvin,

please try MSDASQL as provider. Does it work then?


Oct, 2017 - Permalink

nope, thant it says:

"ERROR [IM002] [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified"

but i dont want to use the odbc...


Oct, 2017 - Permalink

Dear q16marvin,

in that case please specify what you do want to use. It could be that PostgreSQL as provider works, but since the DB is setup on your side, we cannot know.


Oct, 2017 - Permalink

i understand, when i set "Provider=PostgreSQL"

i get:

"The 'PostgreSQL' provider is not registered on the local machine."

so want to monitore the a postgres db on the same server like the prtg installation. so how can i check which "provider" are installed?


Oct, 2017 - Permalink

Dear q16marvin,

I don't know where this can be checked. You could also try "PostgreSQL OLE DB Provider" (without the quotation marks) as string.

Or you can try our PostgreSQL sensor.


Oct, 2017 - Permalink

thx, but is also not working...

i would use the postgresql sensor, but i run 5 postgres instances on the same server (5 different ports). the port can only be configured on device, not on sensor. for that reason i was using this ado sql sensor...


Oct, 2017 - Permalink

Dear q16marvin,

in this case, please create five device objects (one for each port.) Please let me know if that works.


Oct, 2017 - Permalink