+ All Categories
Home > Technology > [SCUG.BE 01/10/2014] SCOM Authoring

[SCUG.BE 01/10/2014] SCOM Authoring

Date post: 01-Jun-2015
Category:
Upload: jan-van-meirvenne
View: 191 times
Download: 5 times
Share this document with a friend
Description:
A brief introduction in the authoring concepts and tools of SCOM 2012
Popular Tags:
26
SCOM Authoring: the new era… Jan Van Meirvenne Implementation Consultant 01/10/2014
Transcript
Page 1: [SCUG.BE 01/10/2014] SCOM Authoring

SCOM Authoring: the new era…

Jan Van MeirvenneImplementation Consultant

01/10/2014

Page 2: [SCUG.BE 01/10/2014] SCOM Authoring

Let’s talk about me

Jan Van Meirvenne

System Center Consultant• Expertise: SCOM and SCORCH

@JanVanMeirvenne

www.scug.be/jan

Page 3: [SCUG.BE 01/10/2014] SCOM Authoring

AgendaAuthoring Crash Course

Scenario Introduction

Ways of authoring: 2007• Tools• Demo

Ways of authoring: 2012• Tools• Demo

Tips and Tricks

Page 4: [SCUG.BE 01/10/2014] SCOM Authoring

Take-aways

How does a management pack work?

Which tools are available for content creation?

What is the right tool for the right job?

How do I write my own awesome management pack?What if my awesome management pack doesn’t work?

Page 5: [SCUG.BE 01/10/2014] SCOM Authoring

Authoring Crash Course

• Management Pack• One MP to rule or monitor them all!

• Stores all definitions specific to a scope

Page 6: [SCUG.BE 01/10/2014] SCOM Authoring

Authoring Crash Course

• Classes and Relationships• Represents physical entities across the monitoredEnvironment

• Used to target monitoring

Page 7: [SCUG.BE 01/10/2014] SCOM Authoring

Authoring Crash Course

• Discoveries

• Detect if a system should receive specific monitoring• Creates class and relationship instances on detection• Dynamically load or unload monitoring

Page 8: [SCUG.BE 01/10/2014] SCOM Authoring

Authoring Crash Course

• Monitors• State-based• Target Classes

Page 9: [SCUG.BE 01/10/2014] SCOM Authoring

Authoring Crash Course

• Rules• Multi-purpose• Target Classes• Collect, Execute, Alert

Page 10: [SCUG.BE 01/10/2014] SCOM Authoring

Authoring Crash Course• Advanced: Modules

• “Create your own workflow”• Data Source / Condition Detection / Probe Action / Write Action• Reuse workflows across monitors,

rules and discoveries

Page 11: [SCUG.BE 01/10/2014] SCOM Authoring

Authoring Crash Course

• XML Dictionary (1)• Management pack = XML with SCOM sugar coating• Structure

<ManagementPack>  <Manifest/> = Management Pack Info  <TypeDefinitions/> = Classes, Relationships, Modules  <Monitoring/> = Monitors, Rules  <Templates/>  <PresentationTypes/>  <Presentation/> = Views, Folders  <Reporting/>  <LanguagePacks/></ManagementPack>

Page 12: [SCUG.BE 01/10/2014] SCOM Authoring

Authoring Crash Course

• XML Dictionary (2)• $Target• Refer to properties of the targeted object• $Target/Property[Type=“Windows!Microsoft.Windows.Computer”]/PrincipalName$• $Target/Host/Property[Type=“Windows!Microsoft.Windows.Computer”]/

PrincipalName$• $Target/Id$

• $MPElement• Refer to management pack objects and their properties• $MPElement$• $MPElement[Name=‘Demo.XAMPP.MP.Classes.MySQL’]$• $MPElement[Name=‘Windows!Microsoft.Windows.Computer’]/PrincipalName

Page 13: [SCUG.BE 01/10/2014] SCOM Authoring

Authoring Crash Course

• XML Dictionary (3)• $Data• Refer to data returned by workflows• Syntax varies depending on source of data and type of workflow• $Data/Property[@Name=‘CPUPercentage’]$ (script-based alert rule)• $Data/Context/[@Name=‘State’]$ (script-based monitor)• $Data/Values/RegistryKeyExists$ (registry-based discovery)

• $Config• Use variables in custom data sources (not covered in this session )

Page 14: [SCUG.BE 01/10/2014] SCOM Authoring

Scenario

• XAMPP• Open-Source Suite for Web Hosting• Apache / PHP / MySQL

“XAMPP is a completely free, easy to install Apache distribution containing MySQL, PHP, and Perl. The XAMPP open source package has been set up to be incredibly easy to install and to use”

• Mission: create definitions to detect and monitor installation

Page 15: [SCUG.BE 01/10/2014] SCOM Authoring

Scenario

XAMPP

Apache

PHP

MySQL

Page 16: [SCUG.BE 01/10/2014] SCOM Authoring

Approach

• Learn to know the application• Interview• Documentation

• Having an architecture drawing is a plus• Map health model to architecture

• Define detections• Discovery• Monitoring

• Build• Test• Repeat

Page 17: [SCUG.BE 01/10/2014] SCOM Authoring

Ways of Authoring

SCOM console• Pro: Wizard-based• Pro: Quick Deployment of complex monitoring

(Templates)• Con: Limited in possibilities (add, not create)• Con: Dynamically generated XML (difficult to edit)• Con: Working directly on management group• Tip: use to learn XML structures

Page 18: [SCUG.BE 01/10/2014] SCOM Authoring

Ways of Authoring

Visio• Pro: Visual Approach• Pro: Great to discuss MP with customer• Pro: Drag and drop• Con: Very limited in possibilities• Con: Need Visio

Page 19: [SCUG.BE 01/10/2014] SCOM Authoring

Ways of Authoring

MPAuthor• + Wizard-based• + Define new classes• Limited in scenario’s• Version- and source control

Page 20: [SCUG.BE 01/10/2014] SCOM Authoring

Ways of Authoring

Visual Studio Extension• + Full content control• + Snippets• + Integrated Source Control• Steep learning curve• Need to have VS Pro / Ultimate license

Page 21: [SCUG.BE 01/10/2014] SCOM Authoring

Troubleshooting

My masterpiece doesn’t do a thing, what now?

• 1: Import Error• 2: Operations Manager Eventlog on agent /

server• 3: Trace workflow

Page 22: [SCUG.BE 01/10/2014] SCOM Authoring

Ways of AuthoringWhen to use what?• Console

• Overrides• Simple monitor/rule update or addition

• Visio• Health Model• Customer

• MPAuthor• Simple workload creation

• VSAE• Go-to tool if you are not afraid to dig in XML (not hard!)

Page 23: [SCUG.BE 01/10/2014] SCOM Authoring

Tips and Tricks

Think performance

Use auto-generating tools to learn XML

Test!

Use descriptions and or Product Knowledge

Review with application owner, improve your masterpiece

Page 25: [SCUG.BE 01/10/2014] SCOM Authoring

Thank you for your attention and patience

• Ask me a question• Join me for a slice of pizza

Page 26: [SCUG.BE 01/10/2014] SCOM Authoring

Thank you!

visit:

www.scug.be


Recommended