Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

Reclassify Computer as Windows sever based on processor name

MiguelSL
Tera Contributor

Hello everyone,

 

We have some Windows 10 CIs running on actual servers. We want Discovery to recognize them as servers and not as computers. The criteria we want to use is that if the processor is Xeon, it doesn't matter if the OS is Windows 10, it should be discovered as a Windows server.

 

First I considered a business rule, but discarded the idea since I believe it is not the right approach.

 

After additional research, I found THIS info on how to reclassify a Windows CI, and I believe this is the right way to go, but I haven't been able to make it work using the processor as the classification criteria. Is it possible to accomplish this with Windows classifications? Is there an alternative I can use?

 

Thanks in advance!

2 REPLIES 2

maheshkhatal
Mega Sage
Mega Sage

@MiguelSL  Make sure if you have OOB classifier classifying them as  Computers then de-activate them. See the classification probes when it classifies the CI as computers. Instead you  have to make sure it launches your probe that correctly identifies those CIs as Servers. Re-run quick discovery and make sure it classifies those CIs as Servers.

 

Mark my response as helpful if it helped you.

Thanks,

Mahesh.

But if I do that, wouldn't that affect all CIs, even when they are actual computers? I just want Discovery to reclassify them when both conditions are met: Processor == 'Xeon' && OS contains 'Windows 10'.

 

I just noticed that the processor info is not available prior to the classification phase so I'm not sure anymore if this is the way forward!