Stop ServiceNow from updating printer class

Steven Barber
Tera Contributor

Hello all

 

I am trying to stop ServiceNow from updating the printer class.
I am using a discovery source that doesn't use the IRE.
Since it doesn't use the IRE, the Reconciliation rule doesn't work.
Does anyone know of another way to stop the printer class from being updated by ServiceNow besides removing the IP Addresses from discovery?

1 ACCEPTED SOLUTION

Johns Marokky
Tera Guru

Hi @Steven Barber ,

Another way of doing is that restricting the ServiceNow Discovery not to do discovery on Network Printers.

For this you can go to Discovery Definition --> Configuration Console and uncheck the Network Printers under the Network Devices. This will stop discovering the Network Printers. (See the attached image for reference).

Screenshot 2023-02-01 at 11.19.57 PM.png

ServiceNow Discovery would bring the right and current data. i would recommend you to use the ServiceNow Discovery.

 

Mark Helpful if it helps in solving your query.

 

Regards,

Johns

View solution in original post

7 REPLIES 7

CMDB Whisperer
Mega Sage
Mega Sage

You should convert your traditional transform map.  The best way to do this is using IntegrationHub-ETL.  It is a free application.  You can use your existing data source but replace the Transform Map with Robust Transforms using IH-ETL.  The result is that your data source will run everything through IRE, and then your reconciliation rules will work as expected.  Aside from that I would need to understand more about your Transform Map to know for sure how to prevent the update of Printer hardware, but the main tool you have at your disposal is Transform Scripts.  If you can identify the condition you want to avoid on the target record, you can create an onBefore transform script that sets ignore=true, which will prevent the target record from being updated.  But I highly recommend getting acquainted with IH-ETL instead.


The opinions expressed here are the opinions of the author, and are not endorsed by ServiceNow or any other employer, company, or entity.

Johns Marokky
Tera Guru

Hi @Steven Barber ,

Another way of doing is that restricting the ServiceNow Discovery not to do discovery on Network Printers.

For this you can go to Discovery Definition --> Configuration Console and uncheck the Network Printers under the Network Devices. This will stop discovering the Network Printers. (See the attached image for reference).

Screenshot 2023-02-01 at 11.19.57 PM.png

ServiceNow Discovery would bring the right and current data. i would recommend you to use the ServiceNow Discovery.

 

Mark Helpful if it helps in solving your query.

 

Regards,

Johns

Since he indicated that he is using a data source that is not using IRE, I was assuming the problem is not with Discovery but some other data source.  But you are correct, if the issue is that you don't want ServiceNow Discovery to discover printers that is certainly an option.  That said, best practice is for all data sources to go through IRE, regardless.


The opinions expressed here are the opinions of the author, and are not endorsed by ServiceNow or any other employer, company, or entity.

Shashank_18
Mega Guru

@Steven Barber - as you mentioned, ServiceNow Discovery does not uses IRE rule until and unless there are other sources to populate the CMDB Classes. If there are multiple source to create/update CMDB records then IRE would be recommended and should be configured.

 

If Discovery is the only tool to create Printer class records then it can be restricted from Discovery Configuration using "Discovery Definition --> Configuration Console and uncheck the Network Printers under the Network"

 

Please mark this helpful, if it resolve your issues.