Blog de François DUFOUR

Supervize Me ©

November 2009 - Posts

SCOM 2007 – SNMP Trap Based Detection (Monitor)

One of my customers recently asked me to monitor its UPS, a MGE Galaxy 5000. This model includes a network management card that let me monitor this device using SNMP.

In this example I’ll only explain how I did to create a Trap Based Monitor.

When looking at the UPS MIB, I noticed that Traps were coming by pairs, one for failure and one for restore, for example:

  • upsmgByPassUnavailable : 1.3.6.1.4.1.705.1.11.15
  • upsmgByPassAvailable : 1.3.6.1.4.1.705.1.11.16
  • upsmgUtilityFailure : 1.3.6.1.4.1.705.1.11.17
  • upsmgUtilityRestored : 1.3.6.1.4.1.705.1.11.18

Glad to discover I would not only create basic alert rules that would let my device in a green state with 10 critical alerts but I could make monitors which would affect the state of my device.

First I created a simple SNMP Event (trap) collection rule with no filter so that I can see all traps coming from my UPS. I made tests with the upsmgUtilityFailure and upsmgUtilityRestored traps as I could easily trigger them from the UPS management interface:

image

OK I can receive traps. Now I could create the monitor (remember not to save it in the Default Management Pack). Choose this Simple Trap Detection:

image

Enter the name and description you want and make sure the Monitor Target is SNMP Network Device. You can notice that my monitor is disabled by default, it’s because I only wanted that monitor to run for my UPS so I created a group containing my device and after the monitor is created,I override it for my group:

image

On the First SnmpTrapProvider page just check the all trap checkbox:

image

On the next page use the expression /DataItem/SnmpVarBinds/SnmpVarBind[3]/Value Equals 1.3.6.1.4.1.705.1.11.0.17. I took the synthax from David Allen’s Blog :

image

Why did I use SnmpVarBind[3] in my expression ? When you look back to the first screenshot of this post you can see the event data at the bottom and you can see that the OID I want to apply a filter on is the third parameter.

On the Second SnmpTrapProvider page check the all trap checkbox again.

On te next page use the same expression as above but with the second OID:

image

Configure a warning or a critical state for the first event:

image

and finally configure an alert and validate:

image

Once you have created the monitor (and in my case made an override on it) you can appreciate the result:

image

image

image

Share this post:                                       
SCOM 2007 – How does MP import works ?

Here is an interesting diagram made by the product team. It shows how MP import works and how MP goes down to agents:

MPImport

Share this post:                                       
SCOM 2007 – Exchange 2010 and Forefront 2010 Management Pack

Hi,

The Exchange 2010 Management Pack for Exchange 2010 is already there ! It supports both SCOM 2007 SP1 and R2. You can download it here : Microsoft Exchange Server 2010 Management Pack for System Center Operations Manager 2007

The Management Pack for Forefront 2010 have also been released this week. It also supports SCOM SP1 and R2. Yo ucan download it here : Forefront Protection 2010 for Exchange Server Management Pack for System Center Operations Manager 2007

Share this post:                                       
SCOM 2007 – Windows Power Management Pack

Hi,

This new Management Pack will let you manage the power consumption of your Windows 2008 R2 Servers. You can download it here : Windows Power Management Pack for System Center Operations Manager 2007 R2

Looks like the System Center team focused on green IT as SCCM 2007 R3 will also provide some power management features.

Share this post:                                       
SCOM 2007 – Native Exchange 2007 MP for SCOM SP1

A native Exchange 2007 MP is now available for SCOM SP1. You can download this version 6.0.6741.0 here : http://www.microsoft.com/downloads/details.aspx?displaylang=en&FamilyID=1a83e112-8677-4e03-83c3-f1b7ebfc3a4b

Share this post:                                       
SCOM 2007 – Active Directory Management Pack 6.0.7065.0

I mentionned it in my previous post. A new version of the AD MP has been released. It now includes Windows 2008 R2 support. Download it here :

Active Directory Management Pack for System Center Operations Manager 2007

Share this post: