UCMDB and UD Practitioners Forum (Previously CMS)
cancel

ucmdb - linux discovery timeout issue

Highlighted
cnucr
Respected Contributor.

ucmdb - linux discovery timeout issue

Hi,

i am tring to discovery linux systems' serial number, product name which use dmidecode code.

in the TTY_Connection_Utils.py dmidecode code runs to get serial number of linux servers but if i modify code for sudo permission, it returns timeout.

There are hundered of linux system and this issue seems few of them.

if i try to use these code manually i mean, on the probe connec to the linux and run sudo dmidecode, it returns correct.

Does anybody have any idea why same code cannot run at the acript ?

Thanks
Can

 

 

P.S. This thread has ben moved from Application Perf Mgmt (BAC / BSM) Support and News Forum to CMS and Discovery Support and News Forum. - Hp Forum Moderator

5 REPLIES
Alexander Arkhi
Acclaimed Contributor.

Re: ucmdb - linux discovery timeout issue

Which UCMDB and DDM Content Pack (if any) versions do you use?
cnucr
Respected Contributor.

Re: ucmdb - linux discovery timeout issue

Hi,

our environment;
ucmdb 9.02, cp 7, windows os.

Thanks
Can
Alexander Arkhi
Acclaimed Contributor.

Re: ucmdb - linux discovery timeout issue

Hi Can,

Three questions:
0. Is your sudo password-enabled or password-less?
1. Do you use SSH-key or password-based authentication?
2. Does your password contain '$' character?

Regards,
Alex
cnucr
Respected Contributor.

Re: ucmdb - linux discovery timeout issue

Hi Alex,

my password doesnot contain '$' and sudo password is disabled. At first, when i try to connect unix, i use password based authentication.

Regards,
Can
cnucr
Respected Contributor.

Re: ucmdb - linux discovery timeout issue

thread is closed