Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Microsoft System Center 2012 R2 Operations Manager Cookbook

You're reading from   Microsoft System Center 2012 R2 Operations Manager Cookbook Learn how to deploy, configure, and maintain System Center Operations Manager with 50 recipes designed to help you meet the challenges of managing a complex IT system

Arrow left icon
Product type Paperback
Published in Apr 2015
Publisher Packt
ISBN-13 9781782176244
Length 406 pages
Edition 1st Edition
Arrow right icon
Toc

Table of Contents (13) Chapters Close

Preface 1. Architecting System Center 2012 R2 Operations Manager FREE CHAPTER 2. Deploying System Center 2012 R2 Operations Manager 3. Configuring System Center 2012 R2 Operations Manager 4. Operating System Center 2012 R2 Operations Manager 5. Maintaining System Center 2012 R2 Operations Manager 6. Monitoring Applications and IT Services with System Center 2012 R2 Operations Manager 7. Authoring Custom Monitoring Solutions with System Center 2012 R2 Operations Manager 8. Authoring Management Packs in Visual Studio 9. Integrating System Center 2012 R2 with Other Components 10. Reporting in System Center 2012 R2 Operations Manager A. Resourceful Links Index

Monitoring and capturing performance in Visual Studio


As with the recipe for the MP Author editor, the basis for this recipe is the common need to capture performance information as well as monitoring for the value of a counter. We will be using the System Up Time counter as our example, but please be aware that this is already captured in a standard pack.

Getting ready

To prepare for this recipe, you need to have Visual Studio installed with the Authoring Extensions plugin configured. In order to follow the instructions fully, you should have read and understood the previous recipes, particularly the creation of the Unit Monitors fragment.

How to do it...

To monitor and capture performance in Visual Studio, follow these steps:

  1. Open Visual Studio and the solution containing the management pack from the previous recipe.

  2. We need to add the performance library in as a reference. To do this, find the References section directly under the project name, right-click on it, and select Add Reference. In...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image