Home » System Center Operations Manager 2007 (Page 10)
Category Archives: System Center Operations Manager 2007
Logfile name
When you create monitors or rules to check logfiles you might want to include both the logfile directory and logfile name in the alert description. You can do that with the following parameters
For monitor:
Logfile Directory : $Data/Context/LogFileDirectory$
Logfile name: $Data/Context/LogFileName$
String: $Data/Context/Params/Param[1]$
For rule:
Logfile Directory : $Data/EventData/DataItem/LogFileDirectory$
Logfile name: $Data/EventData/DataItem/LogFileName$
String: Â $Data/EventData/DataItem/Params/Param[1]$
Kevin Holman, a premier field engineer at Microsoft, has a great list of parameters at his blog, here.
Side by side migration
Here are some experience regarding management packs from a side by side migration between MOM 2005 and Ops Mgr 2007.
Exchange 2003 MP
There is problem with Exchange APIs handling the mail flow check. It looks like both MOM 2005 and Ops Mgr 2007 are sending mails, but only MOM 2005 recive them. The other component of the Exchange 2003 MP is working fine.
AD 2003 MP
You cannot monitor a domain controller running 64-bit Windows Server 2003 with Operations Manager 2007 and Microsoft Operations Manager 2005 at the same time, because the MOM 2005 agent running on 64-bit domain controllers is the 32-bit version of the agent, but the Ops Mgr 2007 agent is a 64-bit version. The MOM 2005 agent contains the 32-bit version of the Active Directory Helper Object (OOMADS) and the Ops Mgr 2007 64-bit agent cannot use the 32-bit OOMADS. In other words, if you have 64-bit domain controllers you will have to decide when you switch them over from MOM 2005 to Ops Mgr 2007.
There was no bigger problems found within the Base OS MP, DNS MP, IIS MP, Cluster MP, SQL MPÂ or DHCP MP.
Group membership based on disk device name – part II
Sometimes you need to include two or more volumes in a group.
- Create a new group.
- On the “Dynamic Members†tab select “Windows Logical Hardware Component†as class and click Add
- Right-click “AND group for Windows Logical Hardware Component…” and select “Switch to Or Group” from the context menu.
- Select “Device Name” as property, select Equals as Operator and input the volume name as value, for example C:
- Click Insert and select Or Group
- In the new OR group, select “Device Name” as property, select Equals as Operator and input the volume name as value, for example E:
- Click Ok and close the group wizard
 The formula should look like this:
( Object is Windows Logical Hardware Component AND ( Device Name Equals C: ) OR ( Device Name Equals E: ))

Group membership based on disk device name
Sometimes you need to create new values for every volume with the same drive letter, for example all Quorum (Q:) disks. You can then create a dynamic group that includes all volumes with a specific device name.
Create a new group. On the “Dynamic Members” tab select “Windows Logical Hardware Component” as class, then “Device Name” as property and suitable operator and value. For example if you want to select all C: volumes, the query will look like
( Object is Windows Logical Hardware Component AND ( Device Name Equals C: ) AND True )
Â
System Center Virtual User Group
As you might have read earlier, the System Center Virtual User Group was launched, on March 27th. It’s a user group dedicated to providing resources for education and collaboration between users of Microsoft System Center technologies everywhere. Check it out at www.systemcenterusergroup.org.
To get the user group off to a fun start, we were discussing the possibility of hosting a contest for the best custom System Center solution, and need to know if you’d be willing to participate. Please read the following, and then post a comment to this thread if you would be willing to play.
The contest would showcase the best custom System Center community solution for a number of categories, including custom Management Pack (Opsmgr / Essentials), Configuration Pack (SCCM), Scripts (any System Center product), etc. Users would submit their entries to the site for judgement by a panel of System Center experts. Prizes would include XBOX 360 (for the overall winner), a Zune for the first couple of runners-up overall, and then books and miscellaneous prizes for the runners-up in each category.
Would you be willing to participate?
If so, register on the site (free) and add a comment to this post. If it looks like there will be a good number of participants, we will announce something official in the next few days! So, what are you waiting for?
Configuring Redundant ACS Collectors in Ops Mgr 2007 SP1
New in SP1, Microsoft will now allow two ACS collectors to point to the same ACS database, but with only one active at a time. One acts as the primary collector, the other acts as the failover/secondary collector, which can only be enabled when the primary one failed or is disabled.
Pete Zerger and I have written a step-by-step walkthrough of the configuration and testing process for redundant ACS collectors. You can download the guide here.
Script: Notification Logfile
I have seen a number of questions regarding notification log on the root management server (RMS). Unfortunately this is not a standard function, instead you have to look in the logfile of the mailserver, if it is SMTP notification. But there is a lot of operations manager administrators who don´t have access to the mailserver or the SMTP logfiles. I have written a script to show you a solution to this, a script that will create a local notification logfile on the RMS.
Â

Â
Recipient – Configure your recipients with a notification device that use this channel. When you setup the notification channel, you input a name, use this as channel for the notification device. Input the recipient e-mail address as delivery address for the selected channel.
Notifiation Channel – Setup a new command notification channel. This is the settings I use in my lab
Notification command channel name: VBLogFile
Full path to file: c:\windows\system32\cmd.exe
Command line parameters: /c C:\send_mail.vbs “$Data/Context/DataItem/AlertName$” “$Data/Context/DataItem/ManagedEntityPath$\$Data/Context/DataItem
/ManagedEntityDisplayName$” “$Data/Context/DataItem/AlertDescription$” “$Data/Context/DataItem/LastModifiedBy$” “$Data/Context/DataItem/Severity$” “$Data/Context/DataItem/Priority$” “$Data/Context/DataItem/ResolutionStateName$” “$Data/Recipients/To/Address/Address$”
Intial directory: C:\
Note that all Ops Mgr parameters are between ” “, else the script will not work if the parameter includes a blank space. With my example settings the script has to be C:\send_mail.vbs and the logfile will be created in the same directory.
The script , send_mail.vbs, will get a number of parameters from the command notification channel. It will then translate severity and priority into words and send the mail. After that it output some data variables to the logfile, psmgr_notification_logfile.txt.
You should change strFROM and strSMTP. strFROM is the sender e-mail address and strSMTP is the FQDN of your mailserver.
You can download the script here.
If you want to add more parameters, there are a lot of them at Kevin Holman’s webpage, here.
Ops Mgr Tools
Here are a some tools that is useful to know about when working with Ops Mgr 2007:
- Create URL Monitor, script to create url monitors, download
- Agent MM, a command line tool to place OpsMgr agents into Maintenance mode, download
- Creating overrides using the SDK, download
- DumpMpContents, dump the contents of a management pack, download
- GroupMM, takes a group and puts all the computers in the group, download
- MP2XMLDUMPER, export MP to XML, download
- MPTOXML, Converting a sealed management pack to readable XML, download
- MPViewer, show the contents of a management pack, for example rules, monitors, views, tasks, console tasks and reports, download
- OpsMgr 2007 Database and Data Warehouse Size Calculator, download
- Agent Proxy Configuration Tool, download
- ProxySettings, enabling proxying for agents, download
- Run As profile configuration helper, configure a RunAs profile for agents in bulk, download
- Counts and displays the number of security events generated every second, download
- How to specify which RunAs account to use for a particular RunAs profile on a particular agent, download
Thanks to Stuart B. Renes for the list.
Notification Scenarios
I have seen a number of questions about different notifiation scenarios. I thought I could write down a comment to some of the most comment ones.
All alert for all machines within a group
In the “create new subscription wizard” unselect all groups and then select only the group including the current machines. Then select all classes and all alert criterias.
All alerts for a specified technology
In the “create new subscription wizard” unselect all classes and then select the current technology. For example if you want all alerts related to Active Directory, select all Active Directory classes.
All alerts for a specified technology on a specifyed machines
In the “create new subscription wizard” unselect all groups and then select only the group including the current machines. Then select all classes and all alert criterias. Unselect all classes and then select the current technology. For example if you want all alerts related to Exchange, select all Exchange classes.
All alerts an special alert
This in not as easy as in MOM 2005. But you can still solve it. Please take a look at this post and this post.
All alerts for all machines within a OU
Please take a look at this post.
All alerts for all machines within a AD Site
Start by create a new group within Ops Mgr. Configure dynamic members, select the Windows Computer class and choose Active Directory Site as property. The query formula should look something like this ( Object is Windows Computer AND ( Active Directory Site Equals Paris ) AND True ) . In this example the AD site is named Paris. In the “create new subscription wizard” unselect all groups and then select only the group including the current machines. Then select all classes and all alert criterias.
Â
Pete and I wrote a guide about configure notification in Ops Mgr, you can read it here. If you need to configure notification on heartbeat failure, please take a look at this post. I have also written posts about alert aging and SMS notification.   Â
Â
Operations Manager 2007 Service Pack 1 (SP1) Now Available
Ops Mgr SP1 RTM is here! You can download it from the links below. Please read the Upgrade Guide before you start deploying SP1.
- Operations Manager 2007 Service Pack 1 Upgrade Package, link
- System Center Operations Manager 2007 Service Pack 1 Evaluation Edition, link
- What’s New in Operations Manager 2007 Service Pack 1 , link
- List of issues that are fixed in System Center Operations Manager 2007 Service Pack 1, link
- Upgrade Paths, link
If you want to discuss the service pack please join the SP1 news group at microsoft.public.opsmgr.sp1 at news.microsoft.com. I recommend JetBrains Omea Readers as news group reader, you can download it here. More information about Microsoft news groups here.
Recent Comments