Tag Archives: Viso

Part 2 : Get more value using Visio drill trough

3 Jun

Hi Quick Update. In part 1 I promised when I had time I would make a prototype of a OM 12 Widget that would show a Visio document and update the health states on it.

So , not that I had time but the coolness factor was to high , so I offered some hours on Sunday to get this working… yes you have read it correctly. I have it working !

Mission

Make a OM 2012 widget and load a Visio document in it. Then refresh the shape data according to the OM target health states. Just the way the official Microsoft Visio SCOM plug in it does.

Accompliced

So far I have it working as a prototype. Yes its stable but as every prototype not fool proof. See screen shots below.

SNAGHTML697f596f

The prototype works based on Visio documents you have made with the official Visio SCOM plugin. Just create the Visio document and drag the OM targets on it and save it. Then load it in to the widget , for now with File –> open. There is one rule: You must have Visio installed on the machine running the OM console.

You don’t have to have the official Visio SCOM plugin installed when you only view the Visio sheets in the Widgets. I have made a refresh feature that connects to the OM group and gets the health state data and refreshes the Visio shapes based on the outcome. But when you have the official Visio SCOM plugin installed you get a bonus. It works also in the widget with official refreshing. See screenshot below:

image

After getting a try timeout it shows the login form. Better would be that it takes the credentials you are using running the OM console . But … Again prototype facts.

SNAGHTML69895c3d

Conclusion

Sorry I really love being a nerd! (that’s what my wife says anyway) If you are honest you must admit this is really cool stuff!!. Since it will cost me for now to much time to finish a build I can share and because the VSAE is still under NDA and I maybe have plans with this. I will not share it for now. However I will try to convince the MS OM guys ( Dale , Marcin, Baelson hope you read this) to deliver this widget out of the box..

Happy Scomming and till next week!

Michel Kamp

Get more value using Visio drill trough

28 May

And again I think I was sleeping. Long time ago when the Visio SCOM integration was released (4year ago) I always had the idea I was missing a key feature. The drill trough feature. So when I click on a shape it opens a next sheet with detailed shapes on it. Tried to established this but stopped looking due a unknown reason. I think it was RTM. (please don’t tell others).  But the idea never left my mind.  So @MMS2012 I spoke with the Operations manager team again and got my answer. O o oh what is the solution simple! Of course Microsoft I never dubbed you guys hadn’t thought about it!. Special thanks to Dale K.  (MSFT)

Lets Start:

First we install all the requirements:

1) Visio

2) SCOM Visio module see Visio and SharePoint extensions for System Center 2012 Released

3) A working SCOM Management group.

4) Knowledge of SCOM

5) One or more DAD (Distributed Application Diagram)

Make the Visio document

Open Visio and create a new sheet. Lets say a overview of your DAD applications.

image

Now we link the correct SCOM targets to the Visio shapes. In our case we have a DAD application that we are linking to shape named Applications A. We do the same for the B and C application.

This is what we get.

image

So when the DAD linked to Application A is unhealthy it will change the shape named Application A red. So far it is almost basic stuff.

Drill trough

Now the value increment. We are going to link the application shapes to a other sheets containing detailed level of the selected application.  So we create a new sheet. And Name it Application A.

image

And we add/link some SCOM targets related to application A to it.

image

Now we go back to the overview sheet (page-1) and select the Application A shape and right click –> Hyperlink.

image

Next we are going to create a new hyperlink.

SNAGHTML4abf50f5

Select the new hyperlink and press the sub-address browse.

SNAGHTML4abfd8ab

Select the application A sheet. And the Zoom level.

SNAGHTML4ac11ae8

And we are almost ready. This last step is important. Since clicking on a shape will only trigger the default hyperlink. We must select the just created hyperlink and set it as default. In this example we have no other hyperlinks but normally we have some default one’s.

SNAGHTML4ac305e2

 

The result

So still in Visio press F5. Now the Visio sheet will be shown full screen. Double click on shape Application A and you will we get the detailed sheet showing application A.

Cool isn’t it!!!

Tip: You can use the up/down button to switch the sheets. But better is to make a go to overview shape on every detail sheet. And hyperlink this to the overview sheet.

Will it work in SharePoint ??

YES it does!

Assuming you have configured the SCOM Visio add in for SharePoint. You just publish it to the document library and open it. You will see its working there also… Sooo cool. 

Next idea is born

The only thing is that we still can’t get this into the native SCOM console. Okay we can make a web view showing the SharePoint Visio page but this has a lot off setup overhead. The good thing is that you can write your custom widgets in OM12. When I have time I will make a prototype showing this Visio sheet into the operations manager native console using a widget. 

Happy Scomming!!

Michel Kamp

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