Sometimes for a variety of reasons it becomes necessary to try and figure out which gateways are paired to which management servers and unfortunately this is a configuration that can often slip under the radar when documenting a management group.
Luckily there is a simply way to figure this out without having to log on to each server and trawl through the registry.
Get-SCOMGatewayManagementServer | where {$_.Name –eq “< GATEWAY SERVER >”} | Get-SCOMParentManagementServer
Note: this command has changed slightly from past versions of SCOM
Pingback: Top 5 SCOM community recommendations: February SCOMathon Newsletter - SCOMathon
Pingback: Microsoft Cloud ve Datacenter Management Şubat 2022 Bülten – Sertaç Topal
I’ve installed a Gateway server in an untrusted domain, however all the alerts have the gateway as the source and not the server in the untrusted domain. Any ideas how to fix this?
That’s very unusual, is this for every single alert? Heartbeats for example should definitely be coming from the source.