Is there a way to filter which servers/agents can connect to the APM MOM (10.7) server?
search cancel

Is there a way to filter which servers/agents can connect to the APM MOM (10.7) server?

book

Article ID: 204459

calendar_today

Updated On:

Products

CA Application Performance Management Agent (APM / Wily / Introscope) CA Application Performance Management (APM / Wily / Introscope) INTROSCOPE DX Application Performance Management

Issue/Introduction

We want to filter by the hosts that are connecting to MOM; this is to limit the growing number of unplanned (and also unlicensed) connections, which may compromise the performance of the current APM infrastructure.

Environment

Release : 10.7.0

Component : APM Agents

Resolution

You would use the agent-specifier.  The format for the agent-specifier  <host machine name>|<custom process name>|<agent name>. 


Agent specifier regular expressions must include three elements of the agent path name: ||. For example, to include all agents from hosts serverA, serverB, serverC and not include serverD, you would specify inside loadbalancing.xml in MOM

<agent-specifier>serverA\|.*\|.*</agent-specifier>

<agent-specifier>serverB\|.*\|.*</agent-specifier>

<agent-specifier>serverC\|.*\|.*</agent-specifier>

You can also use regex in the agent-specifier as well.  For example, if you want to only have ServerA123 and ServerA145 but not ServerA234 connect to a Collector, you would specify the hostname as below.

<agent-specifier>serverA1.*\|.*\|.*</agent-specifier>

Additional Information

<agent host> - this is the hostname of the server that the agent is installed on

<custom process name> - this comes from the agent property introscope.agent.customProcessName in the agent profile

<agent name> - this comes from the agent property introscope.agent.agentName in the agent profile