Home » Articles posted by Anders Bengtsson (Page 47)
Author Archives: Anders Bengtsson
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.
Addition to SCOM 2007 RC2
There is some additions for SCOM 2007 available at MS Connect website
OpsMgr 2007 RC2 – SDK docs and samples
This package contains the OpsMgr 2007 RC2 SDK documentation chm. It also includes samples that show a number of scenarios around using the SDK apis to insert data into OpsMgr 2007 and also using the Operations Manager connector framework.Management Pack Building Resources for RC2
This package contains everything you will need to build a management pack on OpsMgr 2007 RC2. It includes the following:
-Authoring guide (PDF)
-Sample MPs
-Application MPs (XML files)
-Schema XSD and MAML schema files
-Authoring Console
-System Management packs
Also “OpsMgr Management Pack Guides” has been updated since RC2 release
[Swedish] Svenska MOM sändlistan
Hej
Det har tyvärr varit en del problem med den svenska MOM sändlistan, jag har därför satt upp en ny.
Om ni fortfarande är intresserad av att vara medlem ber jag er anmäla er på nytt. Ni hittar den nya listan
här
http://contoso.se/mailman/listinfo/mom_contoso.se
Hör av er om det är några frågor
Trevlig helg!
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
Operations Manager RC2
Operations Manager RC2 is now available at Microsoft Connect
Some of the news are
- Improved reporting
- More reports by default
- More stable
- Improved performance
- Cluster support
- Improved documentation
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
SCOM 2007 – IM Notification
A new function in SCOM 2007 is the possibility to send alert with instant messenger (IM). This functions make easier to send alerts to mobilphones and PDA. I have done some test sending alerts with Microsoft Live Communication to Microsoft Office Communicator. You can setup your Microsoft Live Communication server to send alerts to regular MSN Messenger accounts.
With the correct handheld devide it will be no problem to get the alert and then start troubbleshot when you are on the run, not with all new nice functions in SCOM 2007 :)Â
Opalis lab in the hammock
Recent Comments