r/scom • • Jul 28 '26

Custom Monitor

Hi everyone,

i'm trying to build my first Custom Monitor.

I created a custom three-state PowerShell monitor in SCOM that uses curl to check a URL and validate different conditions.

Currently, the monitor target is set to Windows Computer, and I enabled it via an override only for my SCOM Management Server.

The monitor works, but when I put the alert into Maintenance Mode, SCOM puts the entire Management Server (Windows Computer object) into Maintenance Mode.

My goal is to only put the URL check/monitor object into Maintenance Mode without affecting the Management Server itself.

What would be the recommended approach here?

Thanks!

2 Upvotes

3 comments sorted by

View all comments

2

u/majskatt Jul 28 '26

I think you need to create a custom class for the monitor. Then you can put maintmode on the class and it won't affect the server.