Best practice for updating OOB Patterns Discovery
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-10-2023 08:33 AM
Hi Team,
I wanted to understand the best practice available for updating discovery patterns where only 1 field entry needs to be remapped .
Eg: currently server name is being mapped by FQDN entry, instead of that I want to make remap it with another value coming in the XML payload.
Also, I need to understand if there are any specific preq to be checked incase where only 1 windows classifier needs to be migrated from Probes to Pattern , will it require just disabling the current probes and enabling patterns directly or mandate to go through https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB0827212
- Labels:
-
Discovery
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-10-2023 12:50 PM
for the first use the extension section, avoid modifying the core pattern. But if you must duplicate the pattern and make it your own.
The second? You want to migrate all classes to patterns, if you just flip the active flags on the pattern and disable the probes you will absolutely run into problems
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-10-2023 11:51 PM
Not migrate all the classes, instead only 1 classifier , eg Windows server 2012 ..It is having probes , disabling them and enabling the Windows Server pattern .. I can imagine it will impact relationships defined..or should be using : migrate.enablePattern('windows', 'Windows 2008 Server', 'Windows OS - Servers'); ?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-10-2023 09:58 PM
HoW to Extend the Patter and do customizations here are the detailed Steps.
I got this URL few Years back from @doug_schulze and still Keeping it handy.
Regards
RP