Drag & Drop SCOM Authoring Meets Visio [Quick Guide]

20 Jan

Hi,

I was one of the lucky one’s that was able to test a couple of month ago the yesterday announced “System Center 2012 Visio Management Pack Designer” also know as “Visio MP designer” or “VMPD”. It was difficult for me to NOT talk about this before because it was strictly given under NDA. So now the public word out (thanks to Baelson Duque).. Here it is….

Frist this: The screenshots may differ from the RTM version. And I am a bit in a hurry so this will be a non detailed post. Later I will do a deep dive if you want me to.

What is it ? :

With the SCOM Visio MP designer you can drag and drop your MP together. So visualize this one. Just open an Visio template and drag your monitoring targets in to it. Then drag your monitors or rules in to the sheet and connect them. Generate the MP and import it into SCOM. Simply that all , really I don’t lye.

What do you need in the basics:

  1. Visio 2010 Professional if you want only to drag and Drop the MP.
    or
    Visio 2010 Premium if you want also to generate the MP for SCOM import . This due to the schema validation features in premium.
  2. Installed SCOM console
  3. SCOM (2007/2012) Environment

.. the other requirements you can read in the documentation.

Hands on:

Open Visio and Create the new document

SNAGHTML45f48c

 

You will now see an empty MP document

SNAGHTML484605

Now we can start designing. In this example I will create an MP that will monitor an 2 tier application. So a webserver as frontend and a database as backend. The backend will be monitored with a DB watcher and the front end will be having a web site watcher and a performance monitor with an threshold.

Go to the SCOM MP Shapes region. And select the Quick Shapes tab.

image

Now we select the 2-tier Application Model and drag & drop it into the document.

image

He see what happens , waauww . We have almost completed our Management Pack…

image

 

Now we have to customize the MP. Be sure to pin the properties windows on the right corner of the screen shot. This will be used to specify the parameter values used in the monitors/rules created.

First we select the MP shape on the left corner. Here we specify the MP name and version number.

image

Now awake readers will see that this template isn’t correct. The Front end role contains the DB watcher. This should be connected to the Backend role.

So we simply delete the connector line

image

and move the shape and create an new connector line.

image

Next step is to add a new WEB site monitor to the front end role. This can be done by select the My front end Role shape and press on the blue arrow. Then select the web monitor icon.

image

The web monitor will be added and connected to the front end role target.
Next step is to specify what website to monitor. We select the just created Web site monitor shape and again we change the values in the parameter window.

image

We do the same for the Database Monitor.

image

The result so far will be an MP that will monitor Website and Database availability. Now of course we have to specify the targets for the monitors. This is done with a discovery. Just select the My front end role and the My Backend role and change the parameters. In this case this will be an discovery based on registry key availability. Of course you must create this registry keys on the servers to let the discovery do his work.

image

image

 

The almost end situation will be …..

image

But I am not ready jet. I want also to monitor one performance counter on the front end role. We simply drag and drop a performance monitor in to the sheet … And yes again the word simply… normally I hate this word because I like the deep guru stuff…. Knipogende emoticon

image

 

image

We select the counter shape and change the property’s

 

image

Last step is to connect the shape to the correct front end role target.

This is done with the MP roll-up Monitor Connector shape. Drag and drop it on the sheet and connect the correct ends to the front en role and counter shape.

image

 

Tatadaaaa . The end result will be:

image

 

Last , yes really last , step is simply (again) press “Generate Management Pack”.

image

The Check Diagram will be executed first and will report any compilation errors. Fix the errors and press the “Check diagram” to check it again.

image

 

If all errors are gone you can press “Generate Management Pack” again. And you will be asked for the save location of the MP.

SNAGHTML74479c

Supply it and press OK.

SNAGHTML74bcdb

Quickly go to this directory and you will see 2 files.

image

And you are done!. Import it into your (LAB) SCOM environment.

Wait a moment , not so fast. We want prove !!!

Okay, Okay .. lets open the MP in to the MP authoring console. We will see all the generated Target classes , Views , Discovery’s and Monitors. Really really simple !:

image

 

image

 

image

Now Open your SCOM console and import the MP.

image

Go to the Monitoring Pane and look at the generated views.

image

If you have now configured the correct Discovery Registry Keys and the Correct performance counter. You will see monitoring data coming in and Alerts coming out….

The End:

That was it for now …

Please let me know if you liked this blog and if you want more….

Happy scomming.

Michel Kamp

Advertisements

7 Responses to “Drag & Drop SCOM Authoring Meets Visio [Quick Guide]”

  1. gerrie June 21, 2012 at 15:14 #

    more please more

  2. Jose Fehse July 19, 2012 at 16:20 #

    Hi Michel, I have a questions. I assume you played a lot more with this now.
    Do I need to import both files? If so, I had an issue trying to import the ConnectionRules one, where it could not find the reference to the main MP file. I was able to fix that by sealing the main MP file and then getting the PublicToken corrected in the ConnectionRules one (manually). Then it imports. I assume it shouldn’t be necessary every single time or it would be very time consuming.

    Thank you

    • Michel Kamp July 21, 2012 at 20:40 #

      Hi, Love to help you , but i don’t understand your question/problem. Can you give me more details? What connections mps are you talking about.

      Michel.

      Verzonden met mijn Windows Phone

  3. arbnor mehana January 26, 2014 at 11:28 #

    very nice article thanks for sharing.

    • Arun Kumar January 17, 2016 at 08:40 #

      Hi, I am looking for Visio Mp designer setup.It is not available on Microsoft Site. Can anyone please send it to me. Thanks in advance.

      • Michel Kamp January 17, 2016 at 09:20 #

        Hi,

        It is removed from the site because it’s not supported anymore.

        Will look if I can find it.

        Michel

        Verzonden vanuit Outlook Mobile

Trackbacks/Pingbacks

  1. SCOM Visio MP designer – Authoring tool for the IT « Cloud Administrator - March 31, 2012

    […] https://michelkamp.wordpress.com/2012/01/20/drag-drop-scom-authoring-meets-visio-quick-guide/ Share this:MoreLike this:LikeBe the first to like this post. […]

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: