How does the Discovery patterns run

DH7
Tera Contributor

Hi all,

         I am new to ServiceNow discovery, and I want to understand how the discovery patterns get executed, I want to run "Docker Pattern" as mentioned in https://docs.servicenow.com/bundle/utah-it-operations-management/page/product/discovery/concept/c-do... doc.

 

Do I have to specify this pattern anywhere to execute it? I tried adding it to the Discovery schedule, for "Serverless" discovery, but I couldn't add this pattern.

 

Thanks.

1 ACCEPTED SOLUTION

@DH7  Exactly it works in the same way.

 

If my answer solved your issue, please mark my answer as Correct & 👍Helpful

View solution in original post

6 REPLIES 6

priyasunku
Kilo Sage

@DH7 

 

  1. Navigate to Discovery Definition>CI classification>processes
  2. open the respective process.
  3. edit the trigger probe related list and add the horizontal pattern probe.
  4. from the trigger probes list, populate the pattern column with your pattern.

 

If my answer solved your issue, please mark my answer as Correct & 👍Helpful

DH7
Tera Contributor

Hi @priyasunku,

 

From the CI Classification, Docker Engine is the one with which "Docker Pattern" is associated (in the trigger probe related list), I want to understand, how this Docker pattern gets executed, does it execute when Docker Engine gets executed? if it is when does "Docker Engine" gets executed?

 

Thanks.

priyasunku
Kilo Sage

@DH7 

 

Pattern runs when docker engine is discovered.

 You have to check how it is related. For example if windows server is discovered other CI's which run on it gets discovered(MS SQL instances and databases).

 

so please check to which docker engine is related and run discovery on it.

 

If my answer solved your issue, please mark my answer as Correct & 👍Helpful

DH7
Tera Contributor

@priyasunku ,

So Docker Pattern runs when the condition in the "Docker Engine" classification is satisfied? So for example I have a docker engine running on a Linux machine, and when I run the discovery on that Linux machine, it will discover the Linux machine and the docker engine running on that Linux machine, this will trigger the "Docker Pattern", is this correct?