Is there any field availbale in cmdb_ci_hardware table which will give us an option for excluding it

Selva Arun
Mega Sage
Mega Sage

Is there any field available in cmdb_ci_hardware table which will give us an option for excluding them from being discovered?

 

Below is my client request and I want to know if this can done without having to create a custom field.

 

Task Details: I would like to add a new drop-down field on Hardware CIs -- this should not be a required field
Field name: Rationale for Discovery Exclusion
Options:
Highly Sensitive Device - Scanning Causes Errors
No Access – Hardened Device
Unreachable Device - Disconnected Network
Vendor Restricted

1 ACCEPTED SOLUTION

Mateus Oliveira
Tera Guru

Hi @Selva Arun ,

 

I don't think there is a way of achieving it through class attributes. The only way I am aware of preventing servers from being discovered is excluding their IP's from the Discovery Schedule. Here is an interesting discussion from another community post which might help you if you cant to go with that approach; Discovery Help (Exclude Computers) - ServiceNow Community

 

Another thing you could possibly try is to script the IP exclusion from the Discovery Schedule and trigger it using a Business Rule based in one of the selections for your new attribute. This could potentially work. But again, the attribute itself wouldn't be OOTB (I really don't think there is any OOTB attribute you could use for that).

 

Please, mark my response as helpful 👍 in case it helped you. And also mark the question as answered in case your issue was solved.

View solution in original post

1 REPLY 1

Mateus Oliveira
Tera Guru

Hi @Selva Arun ,

 

I don't think there is a way of achieving it through class attributes. The only way I am aware of preventing servers from being discovered is excluding their IP's from the Discovery Schedule. Here is an interesting discussion from another community post which might help you if you cant to go with that approach; Discovery Help (Exclude Computers) - ServiceNow Community

 

Another thing you could possibly try is to script the IP exclusion from the Discovery Schedule and trigger it using a Business Rule based in one of the selections for your new attribute. This could potentially work. But again, the attribute itself wouldn't be OOTB (I really don't think there is any OOTB attribute you could use for that).

 

Please, mark my response as helpful 👍 in case it helped you. And also mark the question as answered in case your issue was solved.