Search This Blog

Monday 17 February 2014

SCOM 2012: Enable agent proxy on all agents


As of 01/05/2017, this blog will not be updated or maintained

I kept on getting this alert on the SCOM 2012 console:
"Agent proxy not enabled"

Below is the resolution for enabling the agent proxy for all agents and setting the default value to enable agent proxy for all newly installed agents.

Turn on agent proxy for all agents where it is disabled:
get-SCOMagent | where {$_.ProxyingEnabled -match "False"} | Enable-SCOMAgentProxy

Turn on agent proxy as a default setting for all new agents to be deployed, never to have to mess with this again:
add-pssnapin "Microsoft.EnterpriseManagement.OperationsManager.Client";
new-managementGroupConnection -ConnectionString:scomserver.domain.com;
set-location "OperationsManagerMonitoring::";
Set-DefaultSetting -Name HealthService\ProxyingEnabled -Value True

Thanks to Kevin Holman for his post on this.

Hope that this post was helpful.

No comments:

Post a Comment

Note: only a member of this blog may post a comment.