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

glenn_pinto
ServiceNow Employee
ServiceNow Employee

In the Debug window, for the debug type choose Top down vs. Horizontal if you are building a pattern to discover a new application.

Glenn,

I don't have that option in this Kingston instance.   As I mentioned, it is an option on my developer instance, but not available on my corporate instance.    Is there a work around?

Larry

When you originally create the pattern I believe you have the choice between application and infrastructure. Is yours showing as an application type?

 

Yes.  For the Pattern Type, I chose Application.    And it's showing it as such.