Setting “Enable Proxy” by default for SCOM Agents

More and more management packs require your SCOM agents to act as a proxy to allow data flow, this means alerts in the console, and an annoying manual task enabling them as they appear.

Something i recommend and tends to make more sense is to just set this as a default setting, and this works exactly the same in SCOM 2012, 2012 SP1, and 2012R2.)

The following PowerShell command should be ran on a Management Server:

add-pssnapin “Microsoft.EnterpriseManagement.OperationsManager.Client”; new-managementGroupConnection -ConnectionString:localhost; set-location “OperationsManagerMonitoring::”; Set-DefaultSetting -Name HealthService\ProxyingEnabled -Value True

To ensure this has been set you can run the following command, this also lists the other universal setting for SCOM:

add-pssnapin “Microsoft.EnterpriseManagement.OperationsManager.Client”; new-managementGroupConnection -ConnectionString:localhost; set-location “OperationsManagerMonitoring::”; Get-DefaultSetting

The great thing about this is that it work for any existing agents so can be ran at any point.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.