- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-14-2020 10:41 AM
hi i need aolution for the below task in discovery stimulator
As the Cloud Dimensions Discovery Administrator, you are tasked with extending the Windows OS - Servers pattern, using your knowledge and skills. Some guidance is provided below:
Using IP 198.51.100.176, extend the Windows OS - Servers pattern as follows:
Create a pattern extension called Custom Steps
Step 1 called Time Zone
Operation WMI Query
Namespace = "\root\CIMV2"
Tables and Fields: Use this website to determine the correct Table and Field entries
https://docs.microsoft.com/en-us/windows/win32/cimwin32prov/win32-timezone
Step 2 called Trim Time Zone
Operation = Parse Variable
Use https://regex101.com/ for parsing strategy assistance
Run Discovery against 198.51.100.176 and verify the Time Zone field is populated .
thanks,
Solved! Go to Solution.
- Labels:
-
Discovery

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-15-2020 02:53 PM
These steps were able to successfully validate Task 09.
Open the 'Windows OS - Servers' pattern
Select New in the Extension Section
Set the Name to 'Custom Steps'
Setup the WMI Query. I only chose to pull back the caption value for simplicity sake.
Now add another Step called Trim Time Zone to parse the variable. Since the lab calls for regex, you'll really want to use regex101 to play with the expression to whatever you feel comfortable. There are literally at three different ways off the top of my head to parse the output. I used one I new would work for any of the outputs in case there were different time zones.
Since we're extending the pattern, there is a lot of other classes being discovered at the same time. If you look at the CI Attributes section you can see them. So if you tried to just insert the variable u_time_time the step is going to fail. So make sure your variables include the table (class) you're going to push this to.
For the Regular Expression I just chose:
[A-Z]{3}
which in a nutshell is grab find the first three occurrences of capital letters.
Save the Pattern
Goto MidServers and Sync Patterns ( I honestly don't think this is required but I have made this a habit when I do any pattern work so I don't think about it).
Run Discovery against the Server requested. I tested first with the mid-server as a sanity check and then did the other.
And..
Success validation.
Note; if you hit submit, your instance will immediate be deactivated, though you can reenroll at any point and I would highly recommend just thinking up weird things to discover and work through adding them in. This is definitely a once you know it you suddenly start doing it a lot in your real-world environments.
Hope this helps and good luck!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-13-2020 05:20 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-21-2021 03:54 AM
You can skip this step.Still it will work.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-04-2021 01:32 AM
The only issue is i cant add it in output box the UTC line
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-26-2021 02:08 PM
Here's another example on the Extension Section.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-26-2021 02:10 PM