Skip to content

Check Maintenance Mode

nathan-squp edited this page Dec 3, 2026 · 2 revisions

Check maintenance mode

Before handing over a change, check the exact object covered by maintenance, which hosted components are still monitored, and when coverage actually ends. This example follows one planned rehearsal on a simulated computer in our SCOM lab on 29 November 2026.

Read-only MCP tools · scom_list_maintenance · scom_get_object · scom_find_monitoring_inventory · scom_get_timeline

Read the full chats

Check the current window

Operator

I'm taking over the change desk. What's in maintenance at the moment, what work is it for, and what time should I check back? Give me the time in UTC.

Sol 6 · excerpt

SCOM currently shows one object in maintenance: Cookdown.Lab.Fixtures.MaintenanceTarget, a simulated lab computer.

The window is scheduled to end at 29 November 2026, 12:34:29 UTC.

At 12:19 UTC the active list contained one row and the search was complete. It identified Cookdown Lab Fixture Computer as the class, PlannedOther as the reason and scomlab\LabAdmin as the account that started it. The comment explained the change.

Wiki lab example: planned patch-rehearsal handover. Scope is the simulated computer only.

Inspect the MCP response

The window on the selected scom_list_maintenance row held the following values.

{
  "startTime": "2026-11-29T12:19:29.853Z",
  "scheduledEndTime": "2026-11-29T12:34:29.853Z",
  "reason": "PlannedOther",
  "comments": "Wiki lab example: planned patch-rehearsal handover. Scope is the simulated computer only.",
  "user": "scomlab\\LabAdmin",
  "lastModified": "2026-11-29T12:19:29.85Z"
}

Check what the window covers

Operator

Can you check the object behind that entry? The application team wants to know whether its hosted components are covered too. What can we actually confirm from SCOM?

Sol 6 · excerpt

At 29 November 2026, 12:19:53 UTC, SCOM’s complete descendant search found two hosted objects: its operating system and C: disk. I checked each object directly; neither reports being in maintenance.

The computer hosts the operating system, which in turn hosts the disk. All three objects had a stored health state of Healthy. Sol read the maintenance flag on each object before answering.

Object Host In maintenance during the rehearsal
MaintenanceTarget — Yes
MaintenanceTarget operating system MaintenanceTarget No
MaintenanceTarget disk C: MaintenanceTarget operating system No

Check in the Operations console

  1. Open Monitoring → Discovered Inventory. Choose Change Target Type, select Cookdown Lab Fixture Computer, and select Cookdown.Lab.Fixtures.MaintenanceTarget. In your management group, choose the class and display name from the first answer. Read the start, end, user and reason in the details pane.

MaintenanceTarget details show a 12:19 start, 12:34 scheduled end, scomlab\LabAdmin and Other (Planned)

The console displays whole minutes. Its Other (Planned) category corresponds to PlannedOther in the MCP response.

  1. Right-click that row and open Maintenance Mode. During the window, Edit Maintenance Mode Settings and Stop Maintenance Mode were available.

Maintenance Mode submenu with Edit and Stop available and Start disabled on the selected fixture computer

These commands identify the selected object’s current maintenance status.

  1. Open Edit Maintenance Mode Settings to read the comment. This dialog preselected Selected objects and all their contained objects when opened. That choice describes what an edit would apply to. The individual object reads above establish which objects were covered by the existing window. Choose Cancel after inspecting it.

Maintenance Mode Settings showing Other (Planned), the rehearsal comment and a proposed Apply to selection

The comment matches the active MCP row. Use Maintenance Mode End Time from the object details for the saved expiry.

Check one computer’s history

The lab operator ended the window after the rehearsal. The next question was asked in the same chat, while the original scheduled expiry was still in the future.

Operator

The change owner says the work is finished. Can you check that same object again and tell me what SCOM recorded for the window? I need the actual end time for the handover.

Sol 6 · excerpt

SCOM records the maintenance window for Cookdown.Lab.Fixtures.MaintenanceTarget ending at 29 November 2026, 12:21:33.670 UTC. That is the actual recorded end time for your handover. The window had been scheduled to end at 12:34:29.853 UTC.

The object now reports not in maintenance, and the current maintenance listing is empty.

Inspect the MCP response

Selected fields from the maintenanceEnded entry in scom_get_timeline. Use time for the actual end.

{
  "kind": "maintenanceEnded",
  "time": "2026-11-29T12:21:33.67Z",
  "start": "2026-11-29T12:19:29.853Z",
  "scheduledEnd": "2026-11-29T12:34:29.853Z",
  "reason": "PlannedOther"
}

The first object read after the window ended showed inMaintenance: false and isAvailable: true, with health still Not monitored. For the handover, record the end of maintenance separately from the return of a healthy monitor reading. In this lab, the fixture received its normal Healthy test event and a separate SCOM SDK read confirmed Healthy at 12:23:01 UTC.

If the ticket names a server that is missing from the active list

In an earlier check at 12:05 UTC, the group had zero active maintenance objects. The web team asked about WEB01. Sol found the computer by name and checked its own retained maintenance entries over the previous 24 hours. That check also returned zero. To answer the same question for a hosted IIS site, first select the site under its server, then read the site’s timeline. Find monitored objects on a server

For a future change, use Monitoring → Maintenance Schedules to check the next run. An empty schedule list can coexist with a manually started window.

Full conversations

Expand a conversation to read the original operator prompts and Sol 6 replies. Times are UTC on 29 November 2026.

An empty maintenance list and a question about WEB01 · 12:05:37 UTC · 2 replies

Operator · 12:05:37 UTC

We're about to hand over the change window. What's in maintenance right now, and when does cover expire?

Sol 6 · 12:05:45 UTC

SCOM currently reports no objects in maintenance. The maintenance list returned zero objects and was not truncated, so there is no active cover or expiry time to hand over.

If a change window is expected to be covered, check that its maintenance window has been started in SCOM before handover.

MCP calls · scom_list_maintenance


Operator · 12:05:45 UTC

The web team is asking about WEB01 specifically. Can you check the computer itself and whether SCOM retained any maintenance entries for it in the past day?

Sol 6 · 12:05:55 UTC

WEB01.scomlab.test is currently available and Healthy. Its computer object is not in maintenance, so there is no active cover expiry for WEB01.

For the 24-hour period 28 November 2026 12:05:53 UTC to 29 November 2026 12:05:53 UTC, SCOM returned zero retained maintenance entries for that computer object. The maintenance source reported “none,” with no entries omitted from that result. This check was limited to the computer itself; it does not establish whether any hosted web components had separate maintenance windows.

MCP calls · scom_find_monitoring_inventory · scom_get_timeline · scom_get_object

A live patch rehearsal and an early hand-back · 12:19:41 UTC · 3 replies

Operator · 12:19:41 UTC

I'm taking over the change desk. What's in maintenance at the moment, what work is it for, and what time should I check back? Give me the time in UTC.

Sol 6 · 12:19:50 UTC

SCOM currently shows one object in maintenance: Cookdown.Lab.Fixtures.MaintenanceTarget, a simulated lab computer. The window’s comment says it is for a planned patch rehearsal handover and applies only to that simulated computer. SCOM records the reason as PlannedOther.

The window is scheduled to end at 29 November 2026, 12:34:29 UTC. Check back just after 12:34 UTC to confirm maintenance has actually ended; that time is the scheduled end, not confirmation of completion. The maintenance listing returned all objects, with no additional windows shown.

MCP calls · scom_list_maintenance

Verification note. The complete list covered objects visible to this account that were in maintenance at the time of the read. Future schedules are checked separately in the console.


Operator · 12:19:50 UTC

Can you check the object behind that entry? The application team wants to know whether its hosted components are covered too. What can we actually confirm from SCOM?

Sol 6 · 12:20:00 UTC

I checked the object behind the entry. SCOM identifies Cookdown.Lab.Fixtures.MaintenanceTarget as a simulated computer and reports that the computer itself is in maintenance.

At 29 November 2026, 12:19:53 UTC, SCOM’s complete descendant search found two hosted objects: its operating system and C: disk. I checked each object directly; neither reports being in maintenance. The maintenance listing also showed only the computer. Both hosted objects reported Healthy, but health does not establish maintenance coverage.

So the application team should not assume hosted components are covered by this window. SCOM found no application component under this computer in the completed search; it cannot confirm coverage for an application object that is not present there. The window comment also describes the scope as “the simulated computer only.”

MCP calls · scom_get_help · scom_get_object × 3 · scom_find_monitoring_inventory


Operator · 12:21:46 UTC

The change owner says the work is finished. Can you check that same object again and tell me what SCOM recorded for the window? I need the actual end time for the handover.

Sol 6 · 12:21:53 UTC

SCOM records the maintenance window for Cookdown.Lab.Fixtures.MaintenanceTarget ending at 29 November 2026, 12:21:33.670 UTC. That is the actual recorded end time for your handover. The window had been scheduled to end at 12:34:29.853 UTC.

The object now reports not in maintenance, and the current maintenance listing is empty. SCOM also records that the window began at 12:19:29.853 UTC for the planned patch rehearsal handover. This confirms when SCOM ended maintenance; it does not independently confirm when the change work finished.

MCP calls · scom_list_maintenance · scom_get_object · scom_get_timeline

Back to operations

Clone this wiki locally