which credential has been used to discover a CI?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-04-2018 05:46 AM
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...
- Labels:
-
Discovery
-
Service Mapping

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-04-2018 05:57 AM
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-04-2018 11:01 AM
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.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-04-2018 11:49 PM
Might just be me, but the affinity doesnt contain info about which credential was used, just the ID. Or am i missing something?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-04-2018 06:19 AM
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