SystemCenter

All about System Center Articles and Tutorials

Enable Agent Proxy for SCOM Agents

Posted by on Oct 19, 2016 in PowerShell, SCOM 2012

Enable Agent Proxy for SCOM Agents

Few months back one of my good friends managing Active Directory asked me why it’s required to enable Agent Proxy option for the managed servers in SCOM?

This is actually a very good question. Agent Proxy for the managed servers is disabled by default in SCOM however there are huge number of Management Packs depend on an agent setting to enable proxy mode. If it’s not enabled, you will get Agent proxy not enabled alert as well. This has nothing to do with using a browser to access the internet. This setting basically means that you allow the agent to forward data to the Management Server on behalf of another entity.

Example: A domain controller on behalf of the domain, an ISA server on behalf of the array, a cluster node on behalf of the cluster resources and so on.

Each management pack guide will state if the Agent Proxy needs to be enabled for successful discovery. Below is the list of few Management Packs require Agent Proxy option to be enabled:

  • Active Directory
  • Exchange
  • Lync 2013
  • SFB 2015
  • SCCM
  • DNS, etc…

 The Agent Proxy can be enabled following below methods:

1: GUI

2: PowerShell

GUI

1: Open Administration tab and click Agent Managed.

2: Right click the server for which Agent Proxy needs to be enabled and click Properties.

3: Click on Security tab and tick on Allow this agent to act as a proxy and discover managed objects on the other computers.

4: Click OK to save the changes.

That’s it…

1

PowerShell

Enabling Agent Proxy through GUI may be a pain area if the agent count is high. PowerShell cmdlets can help in enabling the same in one go.

Below is the PowerShell cmdlet to enable Agent Proxy for all the agents where it’s disabled:

get-SCOMagent | where {$_.ProxyingEnabled -match “False”} | Enable-SCOMAgentProxy

2

If you want to prevent this in future and don’t want to enable Agent Proxy every time you add the servers in SCOM, you can run below cmdlet:

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

3

Hope it will help.

Submit a Comment

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