Archive for February 2009

Updated Server Network Load Balancing Management Pack for Operations Manager 2007 Released

The Windows Network Load Balancing (NLB) Management Pack monitors the health of NLB on computers that are running Windows 2000 and Windows Server 2003 to improve the availability, performance, and security of your Windows environment. This Management Pack requires OpsMgr 2007 MOM 2005 Backward Compatibility MP Update) 6.0.5000.12 (or higher).

Release History
8/6/2007 – Version 6.0.5000.0, Initial release of the English version,
2/24/2009 – Version 6.0.6505.0, Minor update to the management pack to support
side by side import with the new Windows Server 2008 NLB MP.

System Requirements
Supported Operating Systems: Windows Server 2003; Windows Server 2003 x64
editions

OpsMgr 2007 MOM 2005 Backward Compatibility MP Update) 6.0.5000.12 (or higher)

Release Date: 2/24/2009
Version: (6.0.6505.0)


Download

 

Schedule a group of URLs into Maintenance Mode

I needed to schedule a group of URLs into Maintenance Mode.  I already created a script to schedule one URL but setting up 30 would be a pain to manage.  So I created a new script to schedule a group of URLs.

[ad#adlink]

URLGroupMM.zip

Usage: 
C:\WINDOWS\system32\WindowsPowerShell\v1.0\powershell.exe C:\URLGroupMM.ps1 -rootMS scomrms1 -group ‘AU 3AM Website Reboot Group’ -minutes 120 -comment ’3AM AU Websites Reboot’ -reason ‘PlannedOther’


param($rootMS,$groupName,$minutes,$comment,$reason)

 

Add-PSSnapin “Microsoft.EnterpriseManagement.OperationsManager.Client” -ErrorVariable errSnapin;

Set-Location “OperationsManagerMonitoring::” -ErrorVariable errSnapin;

new-managementGroupConnection -ConnectionString:$rootMS -ErrorVariable errSnapin;

set-location $rootMS -ErrorVariable errSnapin;

 

$groupObject = get-monitoringobject | where {$_.DisplayName -eq $groupName};

$groupagents = $groupObject.getrelatedmonitoringobjects()

 

foreach ($agent in $groupAgents)

 

{

 

$URLStuff = $agent.displayname

 

$URLStuff

 

 

$URLWatcher = (Get-MonitoringClass -name Microsoft.SystemCenter.WebApplication.Perspective) | Get-MonitoringObject | where {$_.DisplayName -eq $URLStuff}

$startTime = [System.DateTime]::Now

$endTime = $startTime.AddMinutes($minutes)

 

 

“Putting URL into maintenance mode”

New-MaintenanceWindow -startTime:$startTime -endTime:$endTime -monitoringObject:$URLWatcher -comment:$comment -Reason:$reason

 

}

Reset monitor when closing alert

Marius Sutara just released a tool that resets the state of a monitor that is closed. This is huge help for my environment. We have rolled out SCOM to many application teams and it is often difficult for them to understand which monitors they can close (rule based) and which will close automatically (state based monitors).

Before this tool if the application owner thought a problem was fixed they would close the alert. If the problem wasn’t really fixed the monitor would stay in error and would never re-fire. If they looked in the alerts view, the alert was closed so they would never think there was still an issue.

With Marius’s tool now if anyone closes an alert from a state based monitor is still in error, the state will be reset and the alert will re-fire.Nice work Marius

http://blogs.msdn.com/mariussutara/archive/2009/02/02/how-to-reset-monitor-when-closing-alert.aspx