Highlighted
Micro Focus Expert
Micro Focus Expert
51 views

(UCMDB Support Tip) - Host Resources and Applications by Shell job “Failed to discover processes …”

Issue:

In the event the Host Resources and Applications by Shell discovery job gave the error "Failed to discover processes by shell" and threw this exception when attempting to discover processes :-

  File "shellutils", line 2053, in _UnixShell__executeCommand
TimeoutException: com.hp.ucmdb.discovery.library.clients.protocols.command.TimeoutException: Command timed out: Exceeded timeout after 15000 milliseconds
</log>
 <log start="14:31:21" severity="warn">Failed to discover fibre channel HBAs</log>
 <EXEC start="14:31:36" duration="15129" CMD="uname" RESULT="" IS_NULL="Y">
  <ERROR class="com.hp.ucmdb.discovery.library.clients.protocols.command.TimeoutException">
   <message>[CDATA: Command timed out: Exceeded timeout after 15000 milliseconds]</message>
   <stacktrace>

 

Workaround:

In order to resolved such discrepancy it is suggested to increase the SHELL_GLOBAL_COMMAND_TIMEOUT setting in the globalsettings.xml file on the probe side (to 120000 from 15000) for the affected probes

MICRO FOCUS Software Support
If you find that this or any post resolves your issue, please be sure to mark it as an accepted solution.
Please hit the Kudo botton, if you find this post useful.
Tags (1)
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.