How can I control the order in which patterns run?

Thomas Powe
Kilo Guru

When running Cloud Discovery, is there a way to specify the order in which patterns execute?  let's say I want the AWS Network pattern to run first, then the database pattern, then some other pattern, etc....how do I do it?  From what I can tell, right now, it's alphabetical?? 

Thoughts?

9 REPLIES 9

Robin J_
Tera Guru

Hi Thomas,
On a general level you can customize the order of "Classification" for Discovery. I assume that is what you are after? 

 

RobinJ__0-1671018528677.png

 


Table: discovery_classy

 

When the first correct Classifier is found it then launches the corresponding correct Pattern. 

Kind regards,
Robin

Looking at that table, I don't see anything "AWS", "Amazon Web Services" or even "Amazon" in there. My guess is this table isn't used for Cloud Discovery.

doug_schulze
ServiceNow Employee
ServiceNow Employee

Patterns dont have an order very similar to the ole probes and sensors, they all just go when called...

Honestly, I think it might be Alphabetical. 

 

So, there is a field on Discovery Status called "Progress".  Even though our Status can show "Completed", Progress will sometimes be less than 100%.  We have ones that will show 50%.   In those, it seems we never get to the Network pattern.  Unless I can figure out a way to get Progress to be 100%, I need a way to ensure that the important CI patterns at least get a chance to run.  I guess I'll open a ticket to HI about this.