Highlighted
New Member.
163 views

TIBCO discovery fails due to truncated command line

Jump to solution

Hello,

 

we are runnig DDMA 9.05 CP 11.11.-842 against uCMDB 9.05

 

TIBCO discovery fails since "Host Resources and Applications byShell" Job truncates the command lines of the discovered processes.

We found that HP-UX 11.11 truncates the command line at 63 characters while SunOS 5.10 truncates at 79 characters.

 

/usr/ucb/ps  is installed on the Sun machines as requested in the discovery manual. uCMDB field width of the process ci type for command line is 4.000 chars.

"/usr/ucb/ps -agxwwu" is explicitely used in the discovery code with the comment that it is done to get more than 80 chars.

 

 

TIBCO discovery relies on reading parameters from the command line, that are not there due to the truncation.

 

 

Is there any idea what we have to change to get the full command line?

 

Any hint would be welcome.

 

Rgds

Hendrik Müller

 

 

 

0 Likes
1 Solution

Accepted Solutions
Highlighted
New Member.

Solved:

 

We could solve it.

 

For SunOs the sudo path for our discovery user was wrong. /usr/ucb/ps gives only long output if run as root.

 

On HP-UX we modified the discovery script to use 'ps -efxx' instead 'ps -ef'.

We found that all our HP-UX versions support '-efxx'.

 

rgds

Hendrik

View solution in original post

0 Likes
1 Reply
Highlighted
New Member.

Solved:

 

We could solve it.

 

For SunOs the sudo path for our discovery user was wrong. /usr/ucb/ps gives only long output if run as root.

 

On HP-UX we modified the discovery script to use 'ps -efxx' instead 'ps -ef'.

We found that all our HP-UX versions support '-efxx'.

 

rgds

Hendrik

View solution in original post

0 Likes
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.