The discovery accounts get locked out .
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
We are experiencing frequent account lockouts during Discovery because Discovery attempts multiple credentials before reaching the correct one.
Example:
Device:
- IP: 172.xx.x.xx
- Hostname: xxxxxxx.servereps.local
- DNS Domain: servereps.local
Discovery attempts the following credentials in order:
- Linux Account
- CP_Alpharetta_SSH_01
- dctreg AD account
- HT_RW_Windows_servereps (correct credential)
- Dctseg AD SSH Credential
- saas
- Linux_Local_Account
- Linux Server_Alpharetta
- servicenow
- AD Account for Linux
- Linux Local Account
- CP_Alpharetta_SSH_02
- CP_PCI_SSH
Because the first few attempts fail, the account gets locked before Discovery reaches the valid credential. As a result, no devices in this domain are discovered.
Is there an OOTB way to configure Discovery so that:
- Discovery selects credentials based on DNS domain, hostname pattern, IP range, or Classification.
- Only relevant credentials are attempted for devices in servereps.local.
- Credential testing order can be controlled to avoid account lockouts.
Has anyone implemented Credential Affinity or another approach to solve this at scale?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
@Hazik Yes. You can use Credential Affinity. In the Discovery, first time discover below using the right credentials, then automatically that credentials will be added as affinity. Next time, when you schedule, it will not try whole list but instead use the affinity one.
- IP: 172.xx.x.xx
- Hostname: xxxxxxx.servereps.local
- DNS Domain: servereps.local
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2 weeks ago
This problem occurs when discovery schedule runs and a new device is tried to discover.
Discovery attempts credentials in order and if the correct credential is not attempted in first three tries, the account is locked out.
I tried using credential alias for discovery schedules. It worked for single domain, but the real scenario is discovery schedules contain a mix of IP ranges and domains, how do we configure that?
if there is any way to stop wrong credentials used for authentication, that'd help a lot!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2 weeks ago
Hi @Hazik ,
You could either of the following:
1. Utilize behaviour based discovery, that will limit the type of credentials used for that subnet
2. use credential affinity, and run one successful discovery run to lock that credential in for a particular device, but its good only for small batches.
3. Use Credential-alias , again there are challenges to limit the tries.
I would prefer the Behaviour based if there are no other complications.
Please Accept the solution if it assisted you with your question & Mark this response as Helpful.
Regards.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2 weeks ago
Hi @AJ_01
could you please tell me how I would implement behavior-based discovery in my scenario