Cisco UCS Discovery Credentials

tlegler
Giga Contributor

We are attempting to discovery Cisco UCS devices.   I have credentials that should be admin on the UCS Manager.   So far, our SN instance has been able to identify that the IP is a Cisco UCS via SNMP.   Discovery then launches the UCS - HD pattern, but is unable to log in.   The error message received is "2018-01-16 15:39:29: setAttribute(login, <aaaLogout cookie="" response="yes" errorCode="555" invocationResult="unidentified-fail" errorDescr="Session not found"> </aaaLogout>)".  

My question is what credentials are necessary to allow the pattern to discover the UCS equipment?   The online docs do not provide any guideance on this (that I could find ).

Thanks in advance for anyone's help on this!

-Trevor

1 ACCEPTED SOLUTION

Jon-



I just figured this out today and answered my own question.   The CiscoUCS discovery requires SSH credentials, but the need to be put in a specific way for UCS to recognize them.  



For instance, if you have an account on UCS called 'admin' with local logon rights to UCS, the account needs to be set up in ServiceNow as ucs-local\admin.   Here is a link to where I found the requirements for SSH login:   https://supportforums.cisco.com/t5/unified-computing-system/ucs-ldap-and-native-authentication/td-p/....



-Trevor


View solution in original post

13 REPLIES 13

ssr99
Tera Contributor

Hi,
I came across same error so my question is
The CiscoUCS discovery requires SSH credentials even after the SNMP credentials configured and validated true?, but the need to be put in a specific way for UCS to recognize them.  



For instance, if you have an account on UCS  called 'admin' with local logon rights to UCS, by this you mean admin account on ucs devices. Then account needs to be set up in ServiceNow as ucs-local\admin ( SSH Credential ) account in servicenow .   
Am I getting it correct?

When I set this up five years ago, the account format in your reply was correct.  I have not worked with the UCS discovery since then -- I am unsure if anything has changed.

Deepak Pal1
Kilo Explorer

Hi Treor,

 

Thanks for this article. I am trying to discover the UCS but even after setting up the SSH credentials its throwing the SSH authentication error. The UCS account I am using is an admin account.

Can you please help me out if something else also needs to be configured for this discovery.

 

find_real_file.png

Deepak-

You will also need to set the SSH creds up as applicative credentials against the cmdb_ci_ucs_equipment.  I missed putting that in my solution above.

-Trevor

dileeppeddi1991
Kilo Contributor

Hi All,

 Am trying to discover the Cisco UCS devices . i have created SSH credentials and Applicative credentials. but even though it is giving an error like " No shell detected and probe parameter 'allow_unsupported_shells' is set to 'false' ".

find_real_file.png

After that error i have created probe parameter to UNIX-CLASSIFY.

find_real_file.png

after adding that it is giving below error.

"^
% Invalid Command at '^' marker - Exit status: 236 ".

find_real_file.png

Can any one help me on this.

 

Thanks

kumar