April 22, 2013 Jonathan Almquist TSQL,
Sometimes it is necessary to not only return a list of objects contained in a group, but also return all or specific objects nested in a group at different levels. For this we can leverage a built-in store procedure that is in your Operations Manager Data Warehouse. This procedure is used under the hood for [...]
March 23, 2013 Jonathan Almquist Authoring, VSAE Fragment,
One thing to think about when authoring rules and monitors is performance, and Windows event monitoring is no exception. If you need to search for a string in an event description, and if said event description is not parameterized, this post is for you. You could add this logic while creating a rule in the [...]
March 22, 2013 Jonathan Almquist Authoring, VSAE Fragment,
I’m updating my Technet posts about creating groups in the R2 Authoring Console. Here are the same examples using the Visual Studio Authoring Extensions. You can add these as templates to your fragment library for use in future development projects. How to create a computer group using VSAE Original post: How to create [...]
March 14, 2013 Jonathan Almquist Authoring, VSAE Fragment,
If you’ve been following the series, you should have two classes and a unit monitor. As discussed earlier in the series, the base class types used are Local Application and Application Component, and these do not automatically rollup health to its hosting class. If you want unit monitors targeting the application component class to rollup [...]
March 14, 2013 Jonathan Almquist Authoring, VSAE Fragment,
This fragment demonstrates how you can use one of the built-in, two-state Windows event modules to compose a unit monitor. This fragment is the next example in the VSAE Fragment category; the xml fragment below should work as described if you have been following the series. Module Type used in this post: Microsoft.Windows.2SingleEventLog2StateMonitorType Scenario Change [...]
March 13, 2013 Jonathan Almquist Authoring, VSAE Fragment,
Referring back to the previous VSAE Fragment post regarding the Windows Timed Script Discovery Provider, you can see this module can be implemented directly in a new discovery. In most cases, this works very well. In some cases, you may want to create a custom discovery provider in order to expose configuration elements as separate [...]
March 10, 2013 Jonathan Almquist Authoring, Buggy,
I haven’t looked at the internals of this monitor in a long time. But recently I was working on a modified disk free space monitoring solution for a customer, and to my surprise uncovered the fact that the built-in logical disk space monitor in the Windows management packs do not utilize cookdown. This had changed [...]
March 9, 2013 Jonathan Almquist Buggy,
This is misleading, as it’s only true sometimes. Let me show you a clear example with pictures. The examples below can be reproduced with OpsMgr 2012 SP1 by opening Health Explorer for the Windows Computer object. Example 1 Two unhealthy instances; one critical and the other warning. Health Explorer default behavior Instance in warning [...]
March 7, 2013 Jonathan Almquist Uncategorized,
When I was asked to contribute to this book, I didn’t hesitate at the opportunity to be a part of what is considered to be the most comprehensive technical resource for System Center engineers and enthusiasts around the world. This is the first official publication I’ve been involved in, and am proud to have had [...]
March 7, 2013 Jonathan Almquist VSAE Errors,
If you include knowledge articles in your management pack and fail to reference the maml schema, you’ll see this error during build time. Error 80 Namespace prefix ‘maml’ is not defined It’s a very easy fix. Simply add the highlighted below to the management pack fragment and build away. <ManagementPackFragment SchemaVersion="2.0" xmlns:xsd="http://www.w3.org/2001/XMLSchema" [...]