Security & Management

Using MOM 2005 to monitor Non-Windows devices: Part 2

Configure Microsoft Operation Manager 2005 to monitor devices by using SNMP

If you are using Microsoft Operation Manager 2005 and want to monitor non-Windows devices by MOM Operator Console, You must need to configure the non-Windows devices to forward the SNMP traps to the MOM Agent Computer, and the MOM Management Server to receive and handle the SNMP traps.
 
On the SNMP traps receiver
 
1. In Control Panel, Open Add/Remove Programs, Click Add/Remove Windows Components, Select Management and Monitoring Tools, Click Details, and install the SNMP and WMI SNMP Provider.
2. Open Services.msc, right click SNMP Service and click properties, In the General Tab, configure the Startup type to Automatic. Open Security Tab, in the Accepted community names, Click Add, choose READ CREATE in Community rights and enter Public for Community Name. Click Add. Also, choose Accept SNMP packets from any host and click OK.
3. Compile the MIB file for the SNMP traps you get from other vendors using the SMI2SMIR utility. This will load the MIB information into the WMI \\.\root\snmp\smir namespace. (example: smi2smir.exe /sa /t <MIB file> or smi2smir.exe /a <MIB file> or smi2smir.exe /g <MIB file> <MOF file>)
 
On the MOM Management Server
 
1. In MOM Administrator Console, Right click Computer Groups and click Create Computer Group, enter the name SNMP Receiver for the name of that computer group, and then add the SNMP receiver computer to it.
2. Right click Rule Groups and click Create Rule Group. Enter the name SNMP for that rule group and check the Enable checkbox. Click Next and Finish.
3. Associate that SNMP rule group to the SNMP Receiver computer group.
4. In that SNMP rule group, create a Collect Specific Events (Collection) rule for each SNMP Trap Catcher and SNMP Extended Trap Catcher Data Provider. And Enable both of these collection rules.
5. In that SNMP rule group, create an Alert on or Respond to Event (Event) rule with SNMP Trap Catcher Data Provider. Enable Generate Alert of that rule.
6. Add the VBScript as the response to this rule. The VBscript is used to generate an additional alert to display the SNMP traps sender's IP address directly.
 
Set objEvent = ScriptContext.Event
Set objAlert = ScriptContext.CreateAlert()
 
objAlertLevel = 50
objAlert.AlertSource = "SNMP"
objAlert.Name = "SNMP Alert"
objAlert.Description = objEvent.Message
objAlert.Computer = Replace(objEvent.EventParameter(11),".","-")
objAlert.ComputerDomain = "SNMP"
 
ScriptContext.Submit objAlert
 
7.Enter the name SNMP Alert for this VBscript and this rule and then Enable this SNMP Alert rule.

 
On the SNMP traps sender
 
Configure the Community name Public and the Target SNMP traps receiver.

Source: My 7th Microsoft KB Article

 

Posted: Sat, Oct 22 2005 13:17 by daniel | with 1 comment(s)
Filed under:

Comments

klaus said:

hi I try to use the script above but I see still an error by using the VB Script "Class doesn't support Automation" my question what is wrong ?? thx klaus
# September 14, 2006 6:21 AM
Leave a Comment

(required) 

(required) 

(optional)

(required)