SCOM 2012 Maintenance Mode Scheduler

I believe that core to any monitoring system is the ability to send out accurate alerts. SCOM sends out many valuable alerts but will flood e-mail boxes and paging systems during maintenance windows.  I set out to build a maintenance mode scheduler that anyone can quickly and easily use to prevent these floods of useless information.

Features:

  • Easily access the new web based maintenance mode scheduler from any browser.
  • End users will thank you at how easy it is to pick a computer, group, object, and even a subscription with a start time and end time. The app calculates the minutes for them and schedules a future maintenance window.
  • The manage tab will make it easy to see and manage any upcoming maintenance windows and identify any gaps.
  • The new integrated dashboards make it feel like the scheduling maintenance mode was always there.
Download Free Trial

screenshot1

Groups

Schedule a group of Computers, Databases, or any objects in the group into maintenance Mode.
image

One Click Maintenance Mode

Another great feature is the ability to do one click maintenance mode from any server.  This means is you can place the same shortcut on the desktop of your all your servers.  With one click, the IT administrator can put the server into maintenance mode.

image32

After the shortcut is clicked, the web page automatically detects what server you are on and puts the server into Maintenance Mode with no interaction.

screenshot2

Dashboards Integrated Into The SCOM Console

image

 

Subscriptions

Most organizations only use the alerts from SCOM.  Now you can schedule your complex subscriptions into maintenance mode.  You can choose to send the alerts that where queued up or discard them.

clip_image016_thumb.jpg

Manage any upcoming maintenance windows and identify any gaps

image12

 

Windows 8 App

The Windows 8 app can be download from the Windows App Store.  It uses the existing the same infrastructure and web service as the Web based version.

Download Now from the App Store

image

image

image

 

Click Here to Purchase

Any problems, bugs, or issues please e-mail:  timothymcfadden@scom2k7.com

 

Related Posts

SCOM 2012 Maintenance Mode Scheduler Installation Guidehttp://www.scom2k7.com/scom-2012-maintenance-mode-scheduler-installation-guide/

SCOM 2012 Maintenance Mode Scheduler User Guidehttp://www.scom2k7.com/scom-2012-maintenance-mode-scheduler-user-guide/

Securing SCOM 2012 Maintenance Mode Scheduler - http://www.scom2k7.com/securing-scom-2012-maintenance-mode-scheduler/

 

Continue Reading

Update Rollup 4 for System Center 2012 R2 Operations Manager

Lots of of good fixes in the latest UR.  Especially  if you are using APM then this update rollup  is a must for making this work.   Working with Sensitive Data for .NET Applications

Link:  http://support.microsoft.com/kb/2992020

Issues that are fixed in update rollup 4

Issue 1

It takes many minutes for the Microsoft.Windows.CheckNTServiceStateMonitorType function to determine that the service is down.

Issue 2 

An attempt to apply sensitivity rules fails, and you receive the following error message:

The monitoring configuration contains errors and cannot be applied.
Exception: System.ApplicationException: Attribute ‘regexCompare’ is null
at Microsoft.EnterpriseManagement.Modules.Apm.LibraryConfigManager.Tools.XmlTools.GetMandatoryAttribute(String attributeName, XmlNode node)
at any attempt to apply sensitivity rules fails with the errorMicrosoft.EnterpriseManagement.Modules.Apm.LibraryConfigManager.Modules.ApmModule.Core.Actions.AgentHandlersConfig.HiddenRuleXmlDeserializer.Deserialize(XmlNode rowData)

Issue 3

GSM locations are geotagged incorrectly on Map Widget.

Issue 4

The MonitoringHost.exe process issues too many calls to System Center Failover Clustering.

Issue 5

The re-synchronization of all managed entities from Operations Manager to the Operations Manager Data Warehouse database causes duplicate entries, and an exception that resembles the following is thrown:

Data was written to the Data Warehouse staging area but processing failed on one of the subsequent operations.
Exception ‘SqlException’: Sql execution failed. Error 2627, Level 14, State 1, Procedure ManagedEntityChange, Line 367, Message: Violation of UNIQUE KEY constraint ‘UN_ManagedEntityProperty_ManagedEntityRowIdFromDAteTime’. Cannot insert duplicate key in object ‘dbo.ManagedEntityProperty’.

Issue 6

If data is truncated and is in Terminal status to a workflow, event ID 31551 is logged, and an exception that resembles the following is thrown:

Failed to store data in the Data Warehouse. The operation will be retried.
Exception ‘InvalidOperationException’: The given value of type String from the data source cannot be converted to type nvarchar of the specified target column.
One or more workflows were affected by this.
Workflow name: Microsoft.SystemCenter.DataWarehouse.CollectAlertData

Issue 7

An arithmetic overflow error occurs, and an exception that resembles the following is thrown:

Data was written to the Data Warehouse staging area but processing failed on one of the subsequent operations.
Exception ‘SqlException’: Sql execution failed. Error 8115, Level 16, State 2, Procedure RelationshipChange, Line 180, Message: Arithmetic overflow error converting expression to data type int.

Issue 8
You experience poor performance when Operations Manager searches for attributes. Additionally, when doing more than one search in a row, the cache file (momcache.mdb) keeps increasing.

Issue 9
SCX agent generates lots of warnings in the log file when a user is using Security-Enhanced Linux (SELinux).

Issue 10
By default, the Rpcimap monitor for Red Hat Enterprise Linux 6 is disabled.

Continue Reading

SCOM 2012 Maintenance Mode Scheduler 4

Here are the new features in V4:

  • Multi-select Computers  This has been the most requested feature as end users often want to schedule multiple computers at a time without having to create groups.
  • Multi-select Computers in Integrated dashboard  Now you can select multiple computers in the dashboards without getting an error
  • New Search in Computers and Groups  Now instead of scrolling up in down the list you can just start to type in the name of the group or computer and results will be filtered.
  • One Click MM now accepts parameters   Some environments One Click MM was not working as the client security was high or there were DNS issues.  Now you can just add the computer as a parameter.
  • New Configuration backup tool for easier upgrades  Now you can back your configuration and upgrade to the latest version of SCOM 2012 Maintenance Mode Scheduler with have to reconfigure all of your settings.
Download Free Trial

Multi-select Computers

Now you can select multiple computers at a time for maintenance mode.

image

Multi-select Computers in Integrated dashboard

image

New Search in Computers and Groups

image

One Click MM now accepts parameters

image

New Configuration backup tool for easier upgrades

image

Continue Reading

Discovery bug in MP Author SP2 when discovering the 32-Bit registry keys

There is a bug in Silects MP Author SP2 tool.  If you select a 32-Bit registry key for discovery.

image

 

When you save the MP it will automatically remove the Wow6432Node

image

Most 32-Bit applications don’t write to multiple locations so It won’t discover anything.

image

 

**As pointed out by Kevin Holman there is an XML element called <registryview>32bit</registryview> that will accomplish the same thing but will work with 32-bit servers and 64-bit servers.**

Open up the XML and add the <registryview>32bit</registryview>

My XML would look like this.

<RegistryAttributeDefinition>
<AttributeName>ConfigProductCode</AttributeName>
<Path>SOFTWARE\Research In Motion\BlackBerry Enterprise Server\Setup\ConfigProductCode</Path>
<PathType>1</PathType>
<AttributeType>0</AttributeType>
<RegistryView>32bit</RegistryView>
</RegistryAttributeDefinition>

More info on this can be found here.  http://michielw.blogspot.ca/2010/01/scom-registry-discovery-on-64-bit-os.html

 

The following workaround will work as well, but is not perfect as you might have apps installed on both 32-bit and 64-bit servers.

Open up the XML and edit it back to what it should be.

image

image

 

I have reported this to Silect.  Hopefully they will fix it in the next version.

Continue Reading

Creating a Process Monitoring Recovery Task

Creating a Process Monitoring Recovery Task to stop a process that has been running too long.

I already created the monitor using the Process Monitoring template.

image

 

image

 

image

 

To create the recovery task.

I right click on the process monitor I created.

Choose View Management Pack Objects, Monitors.

image

 

 

The I expand down ProcessFiles, Entity Health, Availability.

I right click on Process Running Time Monitor and click Properties

image

 

 

I choose the Diagnostic and Recovery Tab.

Then under Configure recovery tasks.  I choose Recovery for critical health state.

image

 

 

I click Run Command

image

 

Give it a Recovery Name

image

 

 

Full path to file:

%windir%\system32\taskkill.exe

 

Parameters:

/F /IM processfiles.exe

image

 

Click Create

Continue Reading