Process detection failed on Debug in Pattern Designer

Larry Youngqui2
Tera Contributor

In establishing a custom application based on a running process, I extended the CMDB Application table and created a Process Classification record for the target app using a filter for the command line executable name.   I ran discovery on a test server and it worked as expected.  The process was discovered and a new record was created in my extended CMDB table and a relationship created with the server.

However, when I attempted to develop the new pattern to pick up a new tracked configuration file.  I received a 'process detection failed' establishing a Debug Mode session with the exact same target machine that was just successfully discovered.  I get the following error;

find_real_file.png

The process is running on the host as evidenced by the preceding discovery performed.  I searched and found a similar, but seemingly unrelated HI knowledge base article, KB0678119: Service Mapping: Apache Process detection fails at initial step of Identification.

The error is the same, but the KB is for a Mac process discovery.   As a precaution, I implemented the work around recommended and there was no difference.   The error still occurred.

This for a Kingston (Patch 12) instance.   Recent documentation for London refer to a "Debug Type" option when starting the Debug session.  I have that option on my Madrid Developer Instance, but not on this Kingston corporate instance.

Thanks,

Larry

 

1 ACCEPTED SOLUTION

glennpinto
Kilo Guru

Can you go to the cmdb record of the device that has the application you are trying to write a pattern around, view the Running processes tab, find the running process and note the PID number listed next to the process and enter it into the debug form and see if that fixes the issue.

View solution in original post

9 REPLIES 9

glennpinto
Kilo Guru

Can you go to the cmdb record of the device that has the application you are trying to write a pattern around, view the Running processes tab, find the running process and note the PID number listed next to the process and enter it into the debug form and see if that fixes the issue.

Yep.   That did the trick!   

Thanks, Glenn!

Hi Glenn, 

I am able to debug the Apache pattern using this approach, but this does not add the Apache application CI to the map since that requires Top-Down discovery. How can I add the CI to the map through auto-discovery? 

Henrik Jutterst
Tera Guru

Had the same issue and couldn't find out why it didn't work but entering PID in Debug solved it.

Thanks for the help/info!

Henrik Jutterst
Tera Guru

Hi Larry and thanks for asking this. I had the same issue and due to your post I solve my issue too.

Cheers!
/Henrik