Absent Member.. Absent Member..
Absent Member..

HP UCMDB Unix discovery issue

HI Experts,


We have discovered Unix machines with Host resources and host applications by shell.However we are not able to get Discovered vendor and model name.


Its urgent .Can anybody please help


Warm regards,




P.S. This thread has been moevd from ITRC DDM Inventory (Enterprise Discovery) Forum to CMS and Discovery Support and News Forum. - Hp Forum Moderator

2 Replies
Absent Member.
Absent Member.

Re: HP UCMDB Unix discovery issue

Believe you need dmidecode. Your ouptut will look something like this.
# dmidecode 2.12
SMBIOS 2.8 present.
Handle 0x0100, DMI type 1, 27 bytes
System Information
        Manufacturer: HP
        Product Name: ProLiant BL460c Gen8
        Version: Not Specified
        Serial Number: SGH@@@@@@@@@@@
        UUID: 30313436-3631-4753-4833-3@@@@@@@@@@
        Wake-up Type: Power Switch
        SKU Number: 641016-B21
        Family: ProLiant
Handle 0x2000, DMI type 32, 11 bytes
System Boot Information
        Status: No errors detected
Honored Contributor.. Honored Contributor..
Honored Contributor..

Re: HP UCMDB Unix discovery issue

under_score is correct.


Here are details in the script changes to use sudo for dmidecode, this is from my previous post about this issue:


To fix this, I edited the TTY_Connection_Utils.py and HostConnectionByShell.py scripts.


Its advised you create your own version of these scripts and do not alter the OOTB scripts.

So I recreated the script with a different name.


In your version of TTY_Connection_Utils.py find this section


Edit dmiDecodeCommand to the following:


In HostConnectionbyShell.py

Edit the 2 lines that contain the TTY_Connection_Utils so that it references the edited version:





Edit the adapter used by Host Connection by Shell to use the edited versions of the scripts


Rerun Host Connection by Shell.

The communication log previously errored at dmidecode:

<CMD>[CDATA&colon; dmidecode -t system | grep -A 6 "System Information" ; echo ERROR_CODE:$?]</CMD>
<RESULT>[CDATA&colon; /dev/mem: Permission denied



The script changes will return results:


CMD>[CDATA&colon; sudo /usr/sbin/dmidecode -t system | grep -A 6 "System Information" ; echo ERROR_CODE:$?]</CMD>
<RESULT>[CDATA&colon; System Information
Manufacturer: *************************************
Product Name: *******************************
Version: *************************
Serial Number: *****************************
UUID: ***********************************
Wake-up Type: *****************


Rey Lejano

The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.