TPL Crash Course for BMC Discovery
5.0 (1 rating)
Course Ratings are calculated from individual students’ ratings and a variety of other signals, like age of rating and reliability, to ensure that they reflect course quality fairly and accurately.
6 students enrolled

TPL Crash Course for BMC Discovery

Getting to grips with The Pattern Language for BMC Discovery.
5.0 (1 rating)
Course Ratings are calculated from individual students’ ratings and a variety of other signals, like age of rating and reliability, to ensure that they reflect course quality fairly and accurately.
6 students enrolled
Last updated 10/2019
English [Auto]
Price: $199.99
30-Day Money-Back Guarantee
This course includes
  • 7 hours on-demand video
  • 26 downloadable resources
  • Full lifetime access
  • Access on mobile and TV
  • Assignments
  • Certificate of Completion
Training 5 or more people?

Get your team access to 4,000+ top Udemy courses anytime, anywhere.

Try Udemy for Business
What you'll learn
  • TPL Development for BMC Discovery
  • Running active commands against endpoints
  • Modelling Software and Business Application Instances
  • Testing and Debugging TPL
  • Basic understanding and administration of BMC Discovery
  • Basic understanding of Scripting/Programming
  • Familiarity with BMC Discovery

Learn how to master the basics of TPL from a beginner to intermediate!

The course assumes that you have basic knowledge of infrastructure and software architecture as well as familiarity and experience with BMC Discovery, particularly from an administration point of view.

The course will cover activities such as:

  • Run active commands to retrieve information from servers

  • Model Software and Business Application Instances

  • Test and debugging issues with the TKU and your own custom patterns

This is a great opportunity to take your Administration knowledge of Discovery to the next level and actually develop value-add extensions and Application Models for your company.

Who this course is for:
  • BMC Discovery Administrators
  • BMC Discovery Users
  • System Admins familiar with BMC Discovery
Course content
Expand all 88 lectures 06:45:27
+ Introduction
2 lectures 08:48

An introduction to the course content and what the course will be covering.

Preview 06:04

A quick guide to getting your desktop setup for following the TPL Crash Course.

Preview 02:44

TPL Concepts.

Introduction Quiz
2 questions
+ Pattern Module Basics
8 lectures 36:27

First, let's have a brief overview of the types of declarations you will come across when developing with TPL.

Preview 05:38
Data Types
Basic Syntax - Part 2

Basic TPL syntax.

Basic Syntax Quiz
4 questions

How to use versioning and metadata.

Versioning and Metadata

Test your knowledge on TPL versioning and metadata.

Versioning and Metadata
2 questions

Understanding basic trigger and pattern matching.

Simple Identifiers

Simple identifiers.

Simple Identifiers Quiz
3 questions

The process of creating a very simple TPL file matching simple identities.

Creating a Simple TPL Module
Simple TPL Module - Assignment Walkthrough
In this assignment, you will create your first TPL Pattern Module which will add a Simple Identity attribute to the discovered Network Manager process.
Creating a Simple TPL Module
2 questions

Key takeaways for pattern modules.


Pattern module basics.

Pattern Module Quiz
2 questions
+ Understanding Pattern Modules
5 lectures 28:57

Let's start with the pattern declaration and what goes into it.

Preview 03:06

A walkthrough of updating the Pattern.

Creating a Pattern

Creating patterns.

Creating Patterns Quiz
5 questions

How to use logging and manual runs.

Create a Pattern and Perform a Manual Run - Assignment Walkthrough
In this assignment you will update your Pattern Module to include a pattern block that will perform a simple hostname lookup and output a debug log.
Create a Pattern and Perform a Manual Run with Log Output
2 questions

Summary of Understanding Pattern Modules.


Pattern modules understanding.

Understanding Pattern Modules Quiz
4 questions
+ Running Active Commands
4 lectures 18:34

Running commands in OOTB Discovery.

Preview 04:40

Adding a runCommand function to our TPL.

Run Command Example
Adding a runCommand - Assignment Walkthrough
In this assignment, you will be add a runCommand function to your existing Pattern Module.
Adding a runCommand
1 question

Summary of running active commands.


Running active commands.

Active Commands Quiz
5 questions
+ Retrieving File Information
5 lectures 15:10

An overview of retrieving file information.

Preview 02:53

How to get file contents from Discovery.

fileGet - Walkthrough

How to get file metadata.

File Info

Example of using fileInfo.

fileInfo - Walkthrough

Summary of retrieving file info via Discovery.


TPL file retrieval.

Retrieving File Info Quiz
4 questions
+ Custom Attributes
9 lectures 27:58

Examples of custom attributes and then how to attach them to nodes and display them in the UI.

Preview 04:55
Custom Attributes Overview - Part 2

Modify our TPL to add a custom attribute to our appliance Host node.

Custom Attribute Example

Walkthrough of adding a custom attribute.

Adding a Custom Attribute - Walkthrough

Adding custom attributes.

Adding Attributes Quiz
4 questions

How to make custom attributes visible to the user.

Displaying Custom Attributes

Walkthrough of displaying our custom attribute.

Displaying Custom Attribute Example.

How to remove a custom attribute.

Removing Custom Attributes
Custom Attributes - Assignment Walkthrough
In this assignment, you will update your TPL file to run the command 'last reboot' and then add and display the results on your Host node in Discovery.
Custom Attributes
1 question

A summary of what we've learned about custom attributes.


Adding, displaying and removing custom attributes.

Custom Attributes Quiz
5 questions
+ Regular Expressions
6 lectures 22:59

The general concepts of Regular Expressions.

Preview 01:37

Regex pattern matching examples.

RegEx Examples

A demonstration of RegEx pattern matching.

RegEx Examples Demonstration

Regular Expressions methodology.

RegEx Pattern Matching Quiz
4 questions

How to use this in  TPL.

Using RegEx in TPL

A demonstration of using RegEx in TPL.

RegEx Testing - Assignment Walkthrough
The goal of this assignment will be to generate a custom report with the aid of regex matching.
RegEx Testing
1 question

Summary of using RegEx expressions in TPL.


Regular Expressions knowledge.

Regular Expressions Quiz
2 questions
+ Conditions and Loops
8 lectures 44:41

We're now getting into the more complex area of programming, however even in the smallest TPL patterns you find the need to evaluate discovered data before making changes to the model. Let's look at the basics.

Preview 01:16

First will tackle the IF clause, that allows us to evaluate some discovered data before we commit to any use for it.

The IF Clause
IF Clause - Walkthrough

Before we look at loops, let's just review the list data type and how it can be manipulated in TPL.

Lists Review

So now it's time for us to look using FOR loops.

The FOR Clause
FOR Clause Example
IF and FOR Statements - Assignment Walkthrough
You will be adding two attributes to Discovery. 1) An attribute for the highest baseline failure on the appliance, and 2) Another attribute which contains a list of the all baseline failure messages
IF and FOR Statements
1 question

Key takeaways for using IF and FOR clauses.


Conditions and loops.

Conditions and Loops Quiz
5 questions
+ Searching the Datastore
4 lectures 10:10

We will only touch on the basics of search here because it's expected that you will have some idea of the taxonomy and how search works.

Preview 01:55

OK, let's look at updating our TPL to incorporate a search function!

Search in TPL
Using Search - Assignment Walkthrough
You have a requirement to add a database name to your software instance. You already have the trigger and TPL code, so you will need to use a search function to look up the database node and extract the name attribute to append to a new attribute on your SI.
Using Search
1 question

Key takeaways for using Search in TPL.

+ WMI and Registry Queries
8 lectures 23:22

We'll now look at the two main functions you will find for Windows that you won't use on any other platform with TPL.

Preview 01:30

Now let's look in detail at WMI. WMI stands for Windows Management Instrument and it's BMC's preferred method for discovering Windows devices.

It does the bulk of discovery but it's mainly read-only queries and works like a database lookup would. It can't be used to retrieve files for example.

WMI Queries

So let's look at how we can incorporate WMI and Registry lookups into our example TPL.

WMI Query Function
WMI Query - Walkthrough

WMI Queries.

WMI Queries Quiz
3 questions

Registry query lookups can be done via WMI, but BMC have simplified the task by providing a function, so we just have to worry about the location.

And in keeping with the music theme, we have a tape which can be used to record piano music, but tapes also allow us to record and store configuration data, similar to the Window Registry.

Registry Queries
Registry Query Function
Registry Query - Walkthrough

Key takeaways for using WMI and Registry Queries.


Registry Queries.

Registry Queries Quiz
3 questions