How can I exclude desktops and laptops from discovery?

lizmiller
Kilo Explorer

Hi,

I've noticed there is an out-of-the-box CI "Personal Computer".

How can I make sure laptops and desktops are not being discovered?

Will they automatically be classified as Personal Computers?

I need to run discovery and I don't want them to be discovered.

How can this be done?

Would appreciate any help.

Thanks

Liz

10 REPLIES 10

sachin_namjoshi
Kilo Patron
Kilo Patron

You have two options. You can either exclude those IPs or you can deactivate the generic 'Windows' classifier. That is the only one that feeds the cmdb_ci_computer table. Long term, the latter option isn't a great idea since you will be limited to only Windows servers. However for your parameters, merely deactivating should work.



Regards,


Sachin


Thanks for the quick reply, Sachin.


I can't deactivate Windows classifier, I need it for the servers. I just don't want the desktops and laptops.


Is there any other way? perhaps a way that will avoid create CI's of Personal Computer?


Hi Liz,



Please check below which has other solutions for excluding particular class from discovery



Discovery: Filtering Classes



Regards,


Sachin


Ryan Zulli
ServiceNow Employee
ServiceNow Employee

Hi Liz,



What "servers" are being caught by the generic windows classifier?   If you have a windows server say windows 2016 and do not have a classifier for it, best practice is to create one.   The generic windows classifier is meant to catch any non-server.



Let me know if this helps.


Thanks,


-Ryan