r/scom

Why didn't SCOM alert? The disk is at 4%." Free sealed MP with plain % thresholds and its own Critical alert
▲ 7 r/scom

Why didn't SCOM alert? The disk is at 4%." Free sealed MP with plain % thresholds and its own Critical alert

This pack is built to answer the question app owners always ask: "the disk is nearly full, why hasn't SCOM alerted?" Explaining the stock Logical Disk Free Space monitor's percentage plus megabyte logic, and when a Warning state actually raises an alert, is a lot of words for a simple question.

How this pack behaves:

- Two monitors, one threshold each. Warning: two consecutive readings below 10% free. Critical: two consecutive readings below 5%, raised as its own alert, so a Critical-only subscription gets a new alert rather than an update to the Warning one.

- The performance counter is the health decision. Our 2017 pack ran a script to collect GB figures, and if that script failed the monitor could stay healthy on a full disk. That dependency is gone: a diagnostic writes free/total GB to Health Explorer after the state changes, so if it fails the alert is already open.

- Recovery needs one real reading at or above the threshold. Restarting the agent while the disk is still low doesn't clear the alerts (tested).

- Three plainly named overrides: free space threshold (% free), sample interval, and consecutive samples before alert. There's an optional companion pack with a 1 TB+ volumes group at 3% / 1.5%.

- An on-demand task, "List largest folders and files on this disk", with a hard timeout, time budget and depth limit. It never follows junctions or mount points. In our lab it scanned about 300k entries on C: in under 10 seconds.

Write-up, download and admin guide: https://www.scom2k7.com/your-disk-is-nearly-full-wheres-the-scom-alert/?utm_source=reddit&utm_medium=social&utm_campaign=disk-mp

Happy to take feedback, especially from anyone who tests it at the default interval or on mount points.

u/Total_Rip_3573 — 8 days ago
▲ 3 r/scom

SCOM 2019 UR6 Powershell support

Hello, how could I add Powershell script monitor support on SCOM 2019 UR6? I created a custom monitor that esecute a simple .PS1 script but It seems to not run at all. I suppose that it Is trying to run as vbs buy not sure. Thanks you all in Advance for help

reddit.com
u/sanpeinihira — 9 days ago
▲ 9 r/scom

Azure Monitor SCOM Managed Instance was deprecated on 30 September. Microsoft's alternatives are Azure Monitor or on-prem SCOM.

Microsoft has archived the SCOM Managed Instance documentation. The overview page now says the service is "no longer in support" and recommends Azure Monitor or System Center Operations Manager instead, depending on your requirements:

https://learn.microsoft.com/en-us/azure/azure-monitor/scom-manage-instance/overview

A few practical points for anyone affected:

  • If you were on MI, on-prem SCOM is the shorter path back. Same engine, same agent-based management packs, so your packs, overrides and tuning carry over.
  • Azure Monitor makes sense if your estate has genuinely moved to Azure, but there is no management pack import on that side. If you're monitoring Windows servers, SQL, IIS, AD and DNS on your own hardware, that's a rebuild.
  • SCOM 2025 is in mainstream support until January 2030, with extended support to January 2035. For on-prem and hybrid estates, the "SCOM is going away" question looks fairly settled.

Was anyone here actually running MI in production? Curious where people are moving to.

Disclosure: I run SCOM2K7 (we make SCOM tools). I wrote a longer version on our blog; link in the first comment.

u/Total_Rip_3573 — 10 days ago
▲ 3 r/scom+1 crossposts

SCOM not detecting SQL AG Failovers in the Environment

SCOM 2019 seems to have stopped detecting Availability Group Failovers in the environment.
All AG's are detected and stay in a Healthy State even when we forced a failover for testing.

Windows Cluster however are still firing the Cluster Alerts during tests.

SCOM 2019: v10.19
SQL MP: v7.6.5.0

SQL Version:
Microsoft SQL Server 2022 (RTM-CU12-GDR) (KB5036343) - 16.0.4120.1 (X64)   Mar 18 2024 12:02:14   Copyright (C) 2022 Microsoft Corporation  Enterprise Edition: Core-based Licensing (64-bit) on Windows Server 2022 Standard 10.0 <X64> (Build 20348: ) (Hypervisor)

Browsing through the SQL MP doc seems like the AG is monitored and will alert by default, unless there is a config that I may have missed somewhere ?

Is this a possible MP mismatch with latest version of SQL on the server?

Anyone come across this scenario or has any ideas what i could check or change?

Any assistance would be appreciated

reddit.com
u/EastTamaki2013 — 13 days ago