glenn_pinto
ServiceNow Employee
ServiceNow Employee

Use this blog to post and respond to questions about the Discovery Simulator tasks available from the Discovery Fundamentals course on NOW Learning. The Discovery Simulator tasks are designed to assess one's proficiency with performing various tasks using ServiceNow Discovery. The simulator covers the following tasks:

01: Navigate Discovery

02: Validate MID Server

03: Run Quick Discovery

04: Create Credentials

05: Create Discovery Schedule

06: Create Windows Only Behavior

07: Reconfigure and Test Discovery Schedule using New Behavior

08: Create iTunes Process Classifier

09: Create iTunes Discovery Pattern (Part 1)

10: Create iTunes Discovery Pattern (Part 2)

11: Extend Windows OS - Servers Pattern

12: Create Asset Record

13: Activate CMDB Health Dashboard

 
Comments
Akhtar Rasool
Tera Contributor

I have re-run the Quick Discovery, this time the Job updated the CI as the CI was already existing with that IP.

 

Its Weird that, Now I was able to validate the task 🙂

Thank You.

glenn_pinto
ServiceNow Employee
ServiceNow Employee

@Akhtar Rasool please run the quick discovery again and then try to validate. There is a 15 minute time frame in the script after the CI is discovered that you have to validate. This may be the issue. Thanks.

Akhtar Rasool
Tera Contributor

Thanks Glenn for the reply.

After re-run of Quick Discovery I was able to validate the task.

Akhtar Rasool
Tera Contributor

Dears

 

For the Task: Extend Windows OS - Servers Pattern#

could you please correct if i am wrong in any of below two steps.

Description is not getting captured.

AkhtarRasool_0-1689658252312.png

AkhtarRasool_1-1689658271258.png

 

chiru9
Tera Explorer

great

CN344019
Giga Explorer

Helpful

MackI
Kilo Sage

Well I just started this module ..let's see what happen seems like something really challenging and exciting things I m. going to experience 

Ranjith95
Tera Contributor

Ranjith95_0-1696725293007.png

Task: Create Discovery Schedule
Windows and Linux Server Schedule

As the Cloud Dimensions Discovery administrator, you are tasked with creating a discovery schedule to automatically discover a Windows and Linux Server using the following information:

 

Ranjith95_1-1696725293014.png

 

Ranjith95_2-1696725293020.png

 

Ranjith95
Tera Contributor

Use the following information to set Version into the Version field.

  • Step Name: Set Version
  • Operation: [Use skills learned to determine correct entry]
  • Value:  [Use skills learned to determine correct entry]
  • Name: [Use skills learned to determine correct entry]

Ranjith95_0-1696732422351.png

 

Ranjith95
Tera Contributor

For the Task: Extend Windows OS - Servers Pattern#

This will work

 

Ranjith95_0-1696736461235.pngRanjith95_1-1696736486435.png

 

ankita1506
Tera Contributor

Hi Everyone, Posting this to complete first validation task

thanuja480
Tera Explorer

Hi Team,

Please comment on below points

Which phases can be viewed under Discovery log tab?

Select all that apply
a. Identification
b. Exploration
c. Scanning
d. Probes and ports
e. Classification

 

 

Answer:

a. Identification
b. Exploration
c. Scanning
e. Classification

 

Rakshitha DEVAR
Tera Explorer

Could you please help me to achieve below?

 

08: Create iTunes Process Classifier

09: Create iTunes Discovery Pattern (Part 1)

10: Create iTunes Discovery Pattern (Part 2)

11: Extend Windows OS - Servers Pattern

12: Create Asset Record

13: Activate CMDB Health Dashboard

ar00510320
Tera Explorer

usefull 

radhika_333
Tera Explorer

Explain Discovery

 

Ranjith95
Tera Contributor

@radhika_333 

Refer below link for basic understanding about discovery

https://www.linkedin.com/pulse/discovery-fundamentals-paul-stuart-88lhc/

 

Mark it as helpful if you feel this gives you overview and idea about discovery.

 

Thanks

Ranjith

KoushikDurusoju
Tera Contributor

Identification

Scanning

Classification

Exploration

jaise_acc
Tera Explorer

Which phases can be viewed under Discovery log tab?

Identification

Exploration

b__DarylF
Tera Explorer

Ref: Task: Create iTunes Discovery Pattern (Part 2)

 

While trying to perform the following steps

From the iTunes pattern, open the iTunes Identification Section and enable Debug Mode using the following information:

  • Debug Type: Horizontal
  • Host Name/IP: 198.51.12.119
  • PID: [Obtain from the Windows Server record in the CMDB, under the Running Processes tab for process iTunes.exe NOT iTunesHelper.exe

I couldn't find the iTunes.exe process. More precisely, I first found it, then I found it with absent=true. Finally when I reran discovery, I couldn't find it anymore. I think the process died, but I'm not sure how to recover/reboot the Windows Server.

 

Ideas ?

SyedAbbasH
Giga Explorer

thanks

kaushal_snow
Mega Sage

Hey @glenn_pinto @SyedAbbasH can you please help me with lab task no 7 " Reconfigure and Test Discovery Schedule using New Behavior"

 

kaushal_jha_0-1712655564449.png

 

Now getting the right navigation. Please help

ShobhitS
Mega Explorer

Identification

Scanning

Classification

Exploration

NeilStrongArm
Tera Explorer

Hi there,

 

 I am stuck on Task: Create Discovery Schedule. The linux server is discovered and CI is created but with the windows server having IP 198.51.12.119, the discovery sensor fails with the error as below:

 

Failed Exploring CI Pattern, Pattern name: Windows OS - Servers, To Check Pattern Log Press Here

 

NeilStrongArm_0-1713259208565.png

 

 

 

It fails, when it trying to transform the `-` in the NDP mac address to `:`

In the pattern designer launched from debug, I can see that the previous step is successful and the MAC address and the IP address is updated in the NDPTablev4, as below logs also show.

 

 

Get NDP Table IPv4
2024-04-16 08:50:18: Executing WMI command on host: 198.51.12.119, command: netsh int ipv4 show neigh
2024-04-16 08:50:20: Command result:


Interface 1: Loopback Pseudo-Interface 1





Internet Address                              Physical Address   Type

--------------------------------------------  -----------------  -----------

224.0.0.22                                                       Permanent 

239.255.255.250                                                  Permanent 



Interface 7: Ethernet



198.51.0.1                                    0e-6d-55-1a-e9-72  Reachable 

2024-04-16 08:50:20: setAttribute(NdpTableV4,[{mac_address=0e-6d-55-1a-e9-72, ip_address=198.51.0.1}])
2024-04-16 08:50:20: Execution time: 1875 ms
Replace '-' with ':' in mac_address
2024-04-16 08:50:20: Illegal group reference
java.lang.IllegalArgumentException: Illegal group reference

	at java.base/java.util.regex.Matcher.appendExpandedReplacement(Matcher.java:1068)

	at java.base/java.util.regex.Matcher.appendReplacement(Matcher.java:998)

	at java.base/java.util.regex.Matcher.replaceAll(Matcher.java:1182)

	at java.base/java.lang.String.replaceAll(String.java:2126)

	at com.snc.sw.kb.lang.closure.EvalClosure.processVars(EvalClosure.java:180)

	at com.snc.sw.kb.lang.closure.EvalClosure.executeJavascript(EvalClosure.java:87)

	at com.snc.sw.kb.lang.closure.EvalClosure.function(EvalClosure.java:61)

	at com.snc.sw.kb.lang.closure.EvalClosure.function(EvalClosure.java:28)

	at com.snc.sw.kb.lang.closure.TransformTableClosure.iterateTableRows(TransformTableClosure.java:75)

	at com.snc.sw.kb.lang.closure.TransformTableClosure.function(TransformTableClosure.java:53)

	at com.snc.sw.kb.lang.closure.TransformTableClosure.function(TransformTableClosure.java:19)

	at com.snc.sw.kb.lang.clos

 

 

 

 

More screenshots.

 

NeilStrongArm_1-1713258324628.png

 

 

 

NeilStrongArm_2-1713258324639.png

 

 

NdpTableV4 data, when clicked on the `data pill` with that table name in the "Temporary Variables"

NeilStrongArm_0-1713259380600.png

 

NeilStrongArm_1-1713259515234.png

 

the JS snippet from the pattern:

var rtrn = '';
rtrn = ${$NdpTableV4[].mac_address}.replace(/-/g,':').toLowerCase();

 

NeilStrongArm_3-1713258707190.png

 

 

Please help

 

 

Thanks

ben_johnson
Tera Explorer

@NeilStrongArm  I am getting the same error on that step today. Hopefully someone can provide a fix. 

Doug Mathias
Tera Contributor

Hi there, so I'm having no luck on STEP 2 of Module 9 Task "Create iTunes Discovery Pattern (Part 2)". Step 1 worked perfectly but not Step 2. I've tried all the the suggestions found in this thread but none helped any. I also tried deleting all steps and starting the whole process over, with no discernable affect.

 

Step 2: Use the following information to filter the table only for iTunes attributes:

  • Step Name: Filter Table
  • Operation: Filter Table
  • Source Table: $cmdb_ci_appl
  • Target Table: $cmdb_ci_appl
  • Condition: $cmdb_ci_appl[].Name | Contains | iTunes

Hint: Click Test and confirm Name, Vendor, Version are collected only for iTunes on 198.51.12.119

 

Here's what my work looks like:

Create iTunes Discovery Pattern Part 2 Step 2.png

 

 

Any help or suggestions on what can be done would be appreciated!

 

Doug

vbarcala
Tera Explorer

perfect

Akashdb
Tera Explorer

I need lab workbook.

Samuelcort12
Tera Contributor

currently doing the same course right now

EliaquimA
Tera Contributor

Starting my studies. 

EliaquimA
Tera Contributor

Starting my studies. 

 
 
EliaquimA
Tera Contributor

Pelase, I can´t my task validation.

EliaquimA_0-1725670016882.png

 

Manideep Arja
Tera Contributor

hi

KushaS
Mega Explorer

01: Navigate Discovery: 

felixmiske
Tera Guru

Hi there - I'm unable to complete Lab 10 (Create ITunes Discovery Pattern (Part 2)) because in the step ob actually testing the pattern I'm running into the following error:

 

> Identification Engine: Discovery status is FAILURE, Discovery using patterns failed due to lack of existence of the main CI type in the results. Check the discovery logs for more details.

felixmiske_0-1726850854941.png

As you can see in the screenshot, my pattern steps are all successful - and than Discovery fails?!

I did check my pattern and the individual steps multiple times - I can not find any misconfigurations. Does someone has an idea whats going on and how to fix it?

felixmiske_1-1726851024523.png

felixmiske_2-1726851052480.png

felixmiske_3-1726851079850.png

felixmiske_4-1726851103418.png

felixmiske_5-1726851130688.png

felixmiske_6-1726851161039.png

 

 

 

felixmiske
Tera Guru

Follow up: the next lab (Task: Extend Windows OS - Servers Pattern) fails with the same problem:

felixmiske_0-1726852447828.png

Is there same underlaying problem with my lab environment or am I to stupid to see some obvious mistake?

 

Here are the pattern steps:

felixmiske_1-1726852555284.png

felixmiske_2-1726852586427.png

 

felixmiske
Tera Guru

@glenn_pinto the problems detailed in my last two posts persist - any idea how to fix that?

These are my last two tasks for the Discovery NowLearning module - and I would really like to finally finish and get my voucher 🙂

robertsilva
Tera Contributor

I have the exact same error as @felixmiske above in Module 9 Task: Create iTunes Discovery Pattern (Part 2)

I did notice a statement in the iTunes Identification Section of the Discovery Log about the mid.sm.discolog.max_object_size limit of 1000 being reached.

I proceeded to up it to 100000 and restarted the mid server.  That message went away but I still have the same FAILURE for the horizontal pattern.

 

@glenn_pinto  I would love to know how to solve this one.

 

HorizontalDiscoveryLog-iTunes-error.PNG

felixmiske
Tera Guru

@robertsilva I did contact ServiceNow Support. They did not troubleshoot my instance (would have been nice to actually know what the issue is), but told me how to circumvent the validation check by manually adding the required data to the CIs...

Not a perfect solution - but at least I was finally able to to finish the module and register for the exam...

JN_L
Tera Explorer

I was able to make it work by using $cmdb_ci_appl[*] instead of $cmdb_ci_appl on the "Name" field for steps 3, 4, & 5.
Check out my screenshots.
step3.pngstep4.pngstep5.png

The same applies for the Windows OS - Servers pattern extension

tpricamonte
Tera Explorer

Topic:

Task: Create Discovery Schedule

 

  • I wonder if this a normal experience or something is wrong my training  instance?
  • I was trying to update this record but there is no 'Quick Ranges' link available under related links (even if I try to change view).
  • Please help. Thanks!

 

 
tpricamonte_2-1728458006367.pngtpricamonte_3-1728458057832.png

 

 

 

Saad Dabre
Tera Contributor

Dear @glenn_pinto,

I am stuck at the end of the course as my mid server is down and i am unable to restart it. Attached is the SS.

SaadDabre_0-1728980638469.png

 

Also i am not able to do a RDP connection to the mid server URL getting below error

SaadDabre_1-1728980724724.png

 

Is anyone facing this issue

 

Kelly Chen
Tera Explorer

Starting my case

PankajY
Giga Explorer

Navigate Discovery

HaoL
Tera Contributor

hi

Khaliya Ross2
Tera Explorer

Could I have help on iTunes task 2? 😭 I think I'm going nuts here. I have done exactly as described in lab and its still coming out incorrect.  My tests verify when I put in $version but not $cmdb_ci_appl.version even though its the correct table reference field. All my steps verify but the discovery still fails. I have also synced the pattern several times to no avail, not sure where I went wrong.Screenshot (9).pngScreenshot (10).pngScreenshot (11).pngScreenshot (12).png

honamiUeo
Tera Contributor

Could someone please help me?
Regarding Extend Windows OS - Servers Pattern
When I executed detection on the Windows MID Server, the following error is displayed.

honamiUeo_0-1731377542923.pnghonamiUeo_1-1731377568892.png

 

I have clicked [Pattern Sync to Mid] to synchronize the updated pattern with the MID Server.
Thank you in advance.

LilyQ
Tera Contributor

Create Credentials
I can't create credentials, the validation can not pass, anyone has the same problem?

kunle odugbesan
Tera Contributor

I will advise you check 3 things

1. validate the mid server and make sure is up

2. credential test you are getting success

3. then try quick discovery.

itpro72
Tera Contributor

I got stuck on the module six task but realized it was because the discovery of 198.51.12.119 would complete yet show all running processes as absent. At that point I had already spent more than an hour on that task and no matter how I ran discovery, it always returned the same result. I was able to validate the task by "testing" the pattern independent of the full discovery. However, because discovery was not working as expected, I still eventually got stuck again, on the first task of module nine. After fussing with it for another hour or more I gave up and terminated the instance to request a new (knowing that I would need to redo all the steps to continue). However the next instance did not have a MID server listed. I RDP'd into the server and saw a running MID server process and verified the config.xml, but no joy getting it to appear in the instance. I terminated that instance and tried again with the exact same result (no MID in the instance, in spite of the MID up and running on the Windows server). This seems worthy of a case, but thought I'd post the question here first. Has anyone else run into issues with their training instance that are well outside the scope of this training?

grzegorz_d
Tera Contributor

I have the same problem as @itpro72. All processes are showing up as absent therefore I am unable to validate the task from module 6 as the iTunes process is not getting classified. 

grzegorz_d_0-1738764857944.png

 

Version history
Last update:
‎04-21-2021 08:58 AM
Updated by: