Interested in a ServiceNow event built for developers? Registration for now[dev]26 is officially open!

Task : Extend Windows - OS Patterns

mucharlarav
Giga Contributor

Hello 
I need a solution for the task of discovery simulator
I am sharing the task scenario and verification details 

SCENARIO: Cloud Dimensions has gained confidence in how easy it is to extend ServiceNow Discovery for applications. Next it would like to extend the Windows OS - Servers pattern to collect the processor name value from Windows Servers and write the value to the Description field. The processor name is an important attribute that Cloud Dimensions wants to report on to assist in future infrastructure planning. REQUIREMENT: As the Cloud Dimensions Discovery administrator, you are tasked with extending the base system Windows OS - Servers pattern to collect processor name from discovered Windows Servers and write the value back to the Description field. Use the following information to accomplish the task. From the Windows OS - Servers pattern:

  • Create a new Extension Section called Windows OS Extension

Open the Windows OS Extension Section and do the following:

  • Enable Debug Mode using your Windows MID Server IP Address (i.e. 10.x....) for the Host Name/IP

NOTE: Enabling Debug Mode can take a few minutes.

  • Create the steps needed to collect the processor name and write it back to the Description field of a discovered Windows Server

Hint: One option to collect processor name is to use a WMI query from the "root/CIMV2" namespace, WIN32_Processor table, Name field. Review the steps you created in the iTunes pattern for additional guidance.

VERIFICATION: Before validating the task, perform the following:

  • Save the pattern

NOTE: When creating or updating an extension section, the pattern only needs to be saved and not published.

  • From the MID Server list, checkmark windows_mid and click Pattern Sync to Mid to synchronize the updated pattern with the MID Server
  • Run discovery against your Windows MID Server
  • Confirm the discovered Windows Server Description field is updated with the processor name as shown

 

Upon completion of this task, select the Validate Task button. If the validation fails, you will be presented with feedback text that indicates what could be failing, along with clickable links to the ServiceNow documentation site for more guidance.

0 REPLIES 0