Discovery of MSSQL Database Instances

syddent
Kilo Contributor

I am new to discovery. Below looks like a credential issue, but I am wondering if I do not have the right problem.

I have run discovery in my environment. I find the host machine and the software that is running on that host machine. I find MSSQL Server running on the machine. However discovery does not find the instances on the MSSQL Server.

The following message shows up in the ECC queue

<?xml version="1.0" encoding="UTF-8"?><results probe_time="13108" result_code="0"><result><error>Authentication failure with the local MID server service credential.</error><error>Failed to access target system.   Please check credentials and firewall settings on the target system to ensure accessibility: Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))</error></result><parameters>

If this is a credential issue, does someone have a hint on what needs to be present besides a Username and password?

Thanks

Sydney Dent

1 ACCEPTED SOLUTION

doug_schulze
ServiceNow Employee
ServiceNow Employee

Sydney,



Have you gone through all the requirements for discovering the SQL instance?



Discovering Microsoft SQL Servers


View solution in original post

12 REPLIES 12

What you are probably seeing is that yoru MSSQL process classifier is probably using a pattern now.  I've seen in these patterns that we just set the 'name', you might check that..

This is what mine looks like

 

find_real_file.png

Thanks for the repsonse.

pattern set same way. (but no hostname and no IP address captures in cmdb_ci_db_instance_list)

but not sure why nothing is capture for MSSQL DB whereas we can see 'instance name@hostname' info for MS FTSQL DB.

find_real_file.png

 

event for 'MongoDB' observed that for some instance its getting hostname value, but not others.

find_real_file.png

find_real_file.png

 

R's

Bharat

Ashish Verma4
Kilo Contributor

Hi syddent,

Please check your credential in servicenow instance from Test Credential.

Once credential is working fine, Please check with Firewall team, since as per the error it looks like firewall is blocking some port to reach the target server.

Please hit like if this resolve your queries.

Thanks,

Ashish