which credential has been used to discover a CI?

Sumeet Verma
Mega Expert

Hi,

how do know that which credential has been used to discover a server?

for an example i have a linux server and have SNMP and SSH credential added for this. now how do get to know that snmp has been used or SSH to discover the CI.

i went to ECC and discovery logs that shows me port for snmp and ssh, but i want to now which exact credential has been used for discovering a particular CI.

as we have multiple SSH and SNMP for same sunbnets.

thanks...

6 REPLIES 6

Asi Garty
ServiceNow Employee
ServiceNow Employee

Hi,

Have a look at the credential affinities, in table: dscy_credentials_affinity
More info here:
https://docs.servicenow.com/bundle/kingston-servicenow-platform/page/product/discovery/concept/c_CredentialAffinity.html

Hope this helps.
If it does please mark as helpful 🙂

Asi

That's definitely how I would do it.

You can also look in the credential_id field of a probe, if that's easier.

As of Istanbul, there should be credential debug info in ecc_queue inputs when all credentials fail or when a parameter, credentials_debug, is set to true.

https://docs.servicenow.com/bundle/istanbul-servicenow-platform/page/product/discovery/reference/r_CredentialTroubleshooting.html

    - Tim.

Might just be me, but the affinity doesnt contain info about which credential was used, just the ID. Or am i missing something?

Ashutosh Munot1
Kilo Patron
Kilo Patron

Hi Summet,

 

This is simple, now when you go to ECC queue in discovery status then you will find which probes are getting triggered. If the IP is SNMP IP then SSH will give you no credentials log in discovery log but SNMP Classify probes will be triggered. So SNMP credentials are used.

 

If Multi probe for Unix is triggered then SSH is used. So SSH credentials are used.


Thanks,
Ashutosh Munot