Home » Microsoft Operations Manager 2005 (Page 5)
Category Archives: Microsoft Operations Manager 2005
From SYSLOG to MOM
Admittedly a couple of months old KB article, but I think most of you have some Linux box running with out monitoring.
HOWTO: Configure Microsoft Operation Manager 2000 or 2005 to monitor Unix devices by using Syslog
ADAM Management Pack
Quest has released a free management pack for ADAM.
In summary, the MP provides the following capabilities:
– monitoring the services that ADAM itself is critically dependant on
– monitoring the health of ADAM including replication, LDAP, net logon service, intersite messaging, Windows time service, the key distribution center(KDC)
– collection of critical performance data
– provides replication and topology diagrams
– provides diagnostics
– detect critical events and create alerts to prevent and correct possible ADAM outages
You can download it here
New management packs
There is a new management pack available, “Microsoft Windows Key Management Service” management pack. You can download it here
Monitor and report the health of Microsoft Windows Key Management Services ability to support Windows client activation requests in volume licensed environments.
There is also a new version of DHCP management pack. Onw of the news is support for SQL 2005 reporting. You can download the new DHCP MP here
I also would like to tip you all about MOM and System Center webcasts, you will find them here.
Exchange 2007 management pack
“Management Pack for Exchange Server 2007 for MOM 2005” is now available for download. You will not find it in the regular Management Pack Catalog. You can download it here here
The Exchange Server 2007 Management Pack includes rules and scripts to monitor and report on performance, availability, and reliability of all Exchange 2007 server roles including Mailbox, Client Access, Hub Transport, Edge Transport and Unified Messaging.
The Exchange Server 2007 Management Pack for MOM 2005 topics explain how to monitor and maintain messaging resources.System Requirements
- Supported Operating Systems: Windows Server 2003 R2 x64 editions; Windows Server 2003 x64 editions
- Requires Microsoft Operations Manager 2005 and Microsoft Exchange Server 2007
Run tasks with extended permissions
Tasks is programs that you have access to directly from Operators Console. It is basic commands like ping but also more advanced commands for Active Directory troubleshooting. After you import more management packs you will get more tasks. You can also create your own tasks in Administrator console, management packs and tasks.
 When you run a task from Operators console it runs only the current user permissions. Often the operator have very restricted permissions. But there is always a more trusted group of operators with a little bit more permissions, they use to have a “admin” account too, to do some basic administered tasks.  Unfortunately you cannot use the non-admin account to run operators console and the “little-admin” account to run tasks, at least not with basic MOM functions.
If your operators have one regular account named Kalle and one named kalle-admin you can change the command line for tasks to this
cmd /C "runas.exe /noprofile /user:%username%-admin@domain.com "mmc compmgmt.msc -s /computer:"$TargetComputer$""
Then the problem will be run as a user named kalle-admin (if you are login as kalle) and you will then be prompt to input password.
But if you need to change both login and password it is a little more complicated. You then will need a script that first ask for username and password, and then it starts the software with those credentials. This script will do that for you
strUserName = InputBox(“Please input your administration username?”, “UserName”)
strComputer = Wscript.Arguments(0)
dim OShell
Set objShell = Wscript.CreateObject(“WScript.Shell”)
objshell.run “runas.exe /noprofile /user:” & strUserName & ” ” & Chr(34) & “mmc compmgmt.msc /s /computer:” &strComputer & ” ” & Chr(34)
Â
To run this you will have to change the command line to scriptname.vbs $Computer Name$
Restart a service if a process is missing
This is a script that will restart a service if a process is missing. I this example the DFS service will be restarted if not notepad.exe is running. Maybe not a very likely scenario :)Â
strProcess = "notepad.exe" 'Name of the process
strServiceName = "DFS" 'Name of the service
strComputer = "."
Set objWMIService = GetObject("winmgmts:\\" & strComputer & "\root\cimv2")
Set objShell = CreateObject("Wscript.Shell")
Set colProcesses = objWMIService.ExecQuery _
("Select * from Win32_Process Where Name = '" & strProcess & "'")
If colProcesses.Count < 1 Then
Const EVENT_WARNING = 2
Set objShell = CreateObject("Wscript.Shell")
objShell.LogEvent 2, strProcess & " is not running. The following process will be restarted: " & strServiceName
Set objWMIService = GetObject("winmgmts:" _
& "{impersonationLevel=impersonate}!\\" & strComputer & "\root\cimv2")
Set colListOfServices = objWMIService.ExecQuery _
("Select * from Win32_Service Where Name = '" & strServiceName & "'")
For Each objService in colListOfServices
If objService.State = "Running" Then
objService.StopService
strNow = now
Do Until DateDiff("s", strNow, now) > 10
Loop
End IF
objService.StartService
Next
End If
Monitor Active Directory with MOM 2005
Which is you most important system?
Many organization would answer Active Directory. A lot of applications and systems are depending on Active Directory, for example Exchange. Most of the regular issues within Active Directory can be handle if a administrator get notice early. AD management pack monitors all core components of AD, client services, replication and gives you a good overview of your directory service health. There is one disadvantage, AD MP does not monitor security, for example changes in your domain admin security group.
I have written a article about how you can monitor changes in some key security groups. This is not a complete management pack, but I will show you how easy it is to create some basic rules.
You can download the article here
MOM Maintenance Mode Utility GUI
Matt Broadstock has created a GUI to work with maintenance modeÂ
This is a graphical utility to put Computers or Computer groups into Maintenance Mode for MOM.
It can be run from any system. It will query MOM for either Computer Groups or Computers that MOM manages and let you choose one or multiples of either. You can also manually type in a specific computer name (so you don’t have to browse through a large list)
You can download it here
Funny management packs
Michel Kamp did a Oracle management pack today when he was home sick. If you want to try it you can download it here.Â
Secure Vantage Technologies have made a Directory Service Controls MP (DCMP) that is free. It is pretty basic. The webpage is absolute worth a visit.Â
Â
DHCP MP
A new version of DHCP management pack is available. The following issues are fixed
- “Could not parse the output of netsh.exe”Â
- False alerts about DHCP not authorized
File Name: Microsoft_Windows_Dynamic_Host_Configuration_Protocol_MOM_2005_MP.msi
Version: 05.0.3500.0000
Date Published: 10/27/2006
Language: English
You can download it here
Don´t forget to backup your MP before you import a new version.
Recent Comments