Archive for the ‘Management Pack’ Category.

Download Management Packs, OpsMgr 2007 and 2012 Beta

One nice features is the possibility to download MP’s from the Catalog in the OpsMgr Console.
I really like being able to download MP’s to disk, that way I can back up the actual .MP file. Not having to download a .MSI, installing it and remove it from Programs and Features / Add/Remove programs if I don’t want it there. What you don’t get when you download it from the Console is the Management Pack Guide, and that one needs to be read before importing the MP.
So, to get hold of the guide document from the Console you do as follows.

Go to Administration, right click Management Packs (you can right click anywhere) and chose Download Management Packs.

Chose your download location and then click Add

Search for the MP you want to download, and select it in the list. Then click Properties

image

And there you have it!

image

A nice feature here would be to right click and Save As, but that doesn’t work. How ever you can click it and it will open in Word, if you don’t have Word installed you can mark it and copy the the link with Ctrl+C and paste it in a browser to open it on another machine.

Problem with the MP catalog

According to a post in the TechNet Forums there is some problems with the PinPoint MP catalog.

http://social.technet.microsoft.com/Forums/en-US/operationsmanagermgmtpacks/thread/8b4ba324-163e-4475-81c1-6420c2bc83e2

SQL Job duration in SQL MP v6.1.314.36

I have a customer with a lot of SQL Agent Jobs that are being monitored on Job duration and after upgrading the SQL MP to 6.1.314.36 they didn’t get alerted when the SQL Agent Jobs was running for to long.

It turned out that the threshold format has been changed, in previous versions it was HHMMSS (H=hours, M=minutes, S=Seconds). And still is for the SQL 2000 MP!
So if you would set 2 hours you would write 020000.
image

In the new version of the MP the threshold format has been changed to minutes instead.
That makes you write 120 instead.
image

I haven’t found anything about this in the MP Guide, but if you do please let me know.

The new Operations Manager Management pack 6.1.7672.0

A new version of the Operations Manager Management Pack was released yesterday.

Download: http://www.microsoft.com/downloads/details.aspx?displaylang=en&FamilyID=61365290-3c38-4004-b717-e90bb0f6c148

And a nice change is that they have made the rules that monitor failure of scripts, commands and WMI queries less noisy and easier to understand. The rules has also been renamed, new names is listed in the following table:

Old name New name
Alert on Failure to Create Process for Batch Response Workflow Initialization: Failed to start a process or script
Alert on Failed Batch Responses Workflow Runtime: Failed to run a process or script
WMI Probe Module Runtime Failure Workflow Runtime: Failed to run a WMI query
WMI Probe Module Initialization Failure Workflow Initialization: Failed to start a workflow that queries WMI
WMI Event Module Runtime Failure Workflow Runtime: Failed to run a WMI query for WMI events
WMI Event Module Initialization Failure Workflow Initialization: Failed to start a workflow that queries WMI for WMI events
WMI Raw Performance Counter Module Runtime Failure Workflow Runtime: Failed to run a WMI query for performance data
WMI Raw Performance Counter Module Initialization Failure Workflow Initialization: Failed to start a workflow that queries WMI for performance data
(new rule) Workflow Initialization: Failed to start a workflow that runs a process or script

 

So if you have alot of script failuers and WMI errors import this MP!

The catalog accessible from the console has not been updated with the new version when this is published.

32bit management pack on 64bit Windows Server

When using a management pack designed to discover a 32bit application and that application is installed on a 64bit server OS the application will probably not get discovered.

This is because the 32bits app will write its registry keys in the HKLM\SOFTWARE\Wow6432Node\ (because its a 32bit app on a 64bit system) and the discovery will look for keys and values in HKLM\SOFTWARE\

To resolve this you can either create the registry keys under HKLM\SOFTWARE or install a 32bit agent on the system.
If you install the 32bit agent it will bee replaced every time you do a upgrade from the console, and worse you wont bee able to monitor your 64bit system properly.

When author MP’s for OpsMgr 2007 R2 there is a new feature that can be used in the discovery.
<RegistryView>32bit</RegistryView>

Should go somthing like this:

<RegistryAttributeDefinition>
  <AttributeName>TheApplication</AttributeName>
  <Path>SOFTWARE\TheApplication</Path>
  <PathType>0</PathType>
  <AttributeType>0</AttributeType>
  <RegistryView>32bit</RegistryView>
</RegistryAttributeDefinition>

And this will make it look in the Wow6432Node

Importing Management Packs from the Catalog, and downloading the MP guide.

When importing a Management Pack directly from the Management Pack Catalog to OpsMgr 2007 R2 you don’t get the chance to read the MP documentation. Becouse you do the download and import of the MP at the same time.
Most of the Management Packs got pre-install instructions in the documentation that you want to read.

So, to be able to download the documentation:

In the Select Management Packs from Catalog, search for the MP that you are about to import.
Mark the product and klick to Properties on the right.
image

And there you have a link to download the doc.
image-1

Good Luck!