Discovery not able to discover cisco-ucs device.

Geet Rana
Giga Contributor

Dear All,

We have a requirement of configuring  discovery for Cisco ucs devices.

Below are the steps which I have followed:

1. Created  an account in cisco ucs application and provided him read only access.

2. Created SSH credentials using above created account.

3. Added credential IP affinity list in the above created credential.

4. Tested the credential and it got validated.

5. Ran quick discovery on one of the IP address, following are the discovery logs :

find_real_file.pngSo here are my queries :

1. I read about Applicative credentials, are they required in this case too? Application used here is Cisco Ucs.

2. We are not supposed to give admin role to the account created in step1. Would like to know what are the roles which could work.

3. When I tested the credential, it got validated. I would like to have a clear idea of what does it mean.

Thank you in advance.

4 REPLIES 4

robertgeen
Tera Guru

Hello,

It appears you have the wrong credential supplied. Cisco UCS is initially discovered using SNMP not SSH (the unsupported shell tells you that the shell it's running isn't supported for SSH discovery).

 

https://docs.servicenow.com/bundle/kingston-it-operations-management/page/product/discovery/reference/r-CiscoUCSHD.html

 

Here you can see that you need SNMP to initially discover it. The applicative credential I am not 100% sure on but I would start by getting the read only SNMP credential and see what comes back from it. Essentially shell can't be used for this because it's running cisco iso shell.

Just as Robert says. Discovery via SSH expects to talk to a unix shell: bourne shell, ksh, bash, csh, tcsh.

You can kinda sorta talk to IOS for a very simple activity, but it won't discover.

SNMP is the way to go for discovering these devices.

Geet Rana
Giga Contributor

Thank you Robert and Tim for your suggestions.

I have followed this link  for credential set up. I am going to proceed with SNMP though as per your suggestion.

 

 

Hi Geet, 

 

i am having a similar issue not able to discover UCS devices, would like to ask were you able to successful discover UCS devices using SNMP, if so could u please share me how and hurdles u faced if any.