SCOM 2012 Maintenance Mode Scheduler

We 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.  We 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 Now

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

 

 

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

 

Related Posts

SCOM 2012 Maintenance Mode Scheduler Installation Guide – http://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

Identify SCOM Agent Version from the file system on SCOM 2012 R2 and SCOM 2016 Agents

When writing my SCOM Agent Update MP  I needed a way to get the SCOM Agent version from the file system.  There is one file that gets updated in every Update Rollup.  OMAgentTraceTMFVer.Dll that is located where in the \Tools\TMF directory where you installed the scom agent.  In my case C:\Program Files\Microsoft Monitoring Agent\Agent\Tools\TMF\OMAgentTraceTMFVer.Dll

I wrote this script to read the file version of this file to identify agent installed version.

Here is a similar VBscript that will pull that data. It works with SCOM 2012 R2 and SCOM 2016

Continue Reading

Install and Uninstall SCOM 2012 R2 UR11 agent updates from a command line

A customer was building a SCCM package to update SCOM Agents.  They needed the command lines to install and uninstall UR11.

Patch Install command

Patch Uninstall Command

The tricky part was getting the Uninstall GUID. You can get the GUID by using ORCA.

In ORCA load the msp file. Then go to View Summary Information.

patch

 

They also needed a way to get the version information to know if it was installed or needed to be installed.

Here is a quick vbscript to get that information.

 

Continue Reading

Stop the madness of having outdated SCOM Agents in your environment

I have seen many SCOM environments where it takes multiple teams to update a single SCOM Agent to the latest Update Rollup.   Often it takes months or even years to update all Agents to the latest Update Rollup.  I created two management packs to make it easy to keep all your agents up to date.  With these Management Packs your Application Admins, Server Admins or SCOM Admins can update their servers when they feel comfortable or have an open change window without requiring admin permissions.

Management Pack 1: Contoso Agent Update Rollup

Download: Link

  • Discovers all Agents and their Update Rollup version
  • Monitors and alerts if agents don’t have the latest Update Rollup
  • Task to install the Update Rollup.  Only permissions required is Operator with permission to run the task. 

Management Pack 2: (Optional) Contoso Agent Update Rollup FileDeploy

  • Deploys out latest Update Rollup to Servers.

Download: Link

 

Getting Started

Management Pack 1  (Contoso Agent Update Rollup)

1.) Install Contoso Agent Update Rollup Management Pack

importmp1

 

2.) Download UR11 from here, extract and copy the msp file to a folder on one of your management servers or on a file server that you can set permissions on.

msp1

3.) Share out the file to all Domain Computers, or you can individually add each server you want to give access to the patch.

createshare

share2

 

4.) Open up the SCOM console, a new folder called Contoso Update Rollup will now show up

Expand that folder and click on the State View.

You can see I have two servers in my environment.  One has UR11 installed and one that is still at RTM

state1

5.) To install the update on one or more servers I select the servers and click the Task called “Install Update Rollup”

install

You can see the default is my file location.  You need this to be the location of the file you shared out.  Click override and enter the location of your update rollup patch file.  Make sure you add double quotes around the location.filelocation

newlocation

 

 

Side Note: If you don’t want to do this every time.  You can modify the xml and re-import the mp.  Just search and replace for the line (Make sure you include double quotes) <Arguments>”\\xOM01\UR11\KB3183990-AMD64-Agent.msp”</Arguments>

arguments

6.) Verify everything is correct and click run.

click-run

 

The task will run and output the results.

taskstatus

7.) After about 10 minutes.  Go back and check the state view.  The server should now show the updated UR Version and File Version

sucess

Management Pack 2 (Optional) Contoso Agent Update Rollup FileDeploy

For those who are not able to or don’t want to create a share for all domain computers for security reasons.  I have another option.  This management pack will embed the update rollup file in a management pack and deploy it to the servers.  Then you can use the task in management pack 1 to update the agent with a file on the local system.

For legal reasons I have not included the management pack containing the update rollup, but I will include the project so you can quickly build your own.

How to build the Management Pack File

1.) Open the Solution by double clicking on the .sln file.  This will open the file in visual studio.

visualstudio

 

2.) Select the Resources folder.  Right click Add Existing Item.

expand

 

3.) Pick the drop down to show all files.  Then browse to to where you have the Agent UR file located.

clickonfile

4.) Click on the file now and for Build Action choose Embedded Resource

embed

5.) Check that the Contoso.Agent.UpdateRollup.FileDeploy.Resource.mpx file has the correct file name.  This may need to be changed if you are using a newer or older update rollup then UR11.

filedeploy

6.) Build the solution under Build, Build Solution

build

 

7.) Browse out to the build location.  You should see a file called Contoso.Agent.UpdateRollup.FileDeploy.mpb

location

 

8.) Import the MPB Management Pack into SCOM.

After 10 minutes check your agents to see if the file was deployed.

filedeployedsucess

The default location is C:\Windows\Temp  *Note this can be changed directly in the MP’s XML or with an override to the rule called “Contoso Agent UpdateRollup File Deploy”

Now you can run the task in Management Pack 1 with the local file location.

override2

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Continue Reading

Automatic Alert Resolution in SCOM

One of the more confusing screens in SCOM is the Automatic Alert Resolution settings screen.

The text is very vague as to what is does.  Kevin Holman recently updated his blog post to clearly identify what they mean.

You can read the excellent full post here.  https://blogs.technet.microsoft.com/kevinholman/2007/12/13/how-grooming-and-auto-resolution-work-in-the-opsmgr-2007-operational-database/

To sum it up:

Resolve all active Alerts in the new resolution state after: =   “Resolve ALL alerts no matter what source (rule or monitor), as long as they haven’t been last modified within “30” days. (where 30 days is the default value)”

Resolve all active alerts when the alert source is healthy after:“Resolve all MONITOR based alerts where the targeted object has returned to a healthy state, and hasn’t been last modified within “7” days. (where 7 days is the default value)”

 

 

Alert

 

 

 

Continue Reading

How to Delete SCOM 2012 R2 Managed Computers using PowerShell

Usage

deleteAgents

Download Script: Link

Script:

 

 

Continue Reading