How to make supportability metrics avilable from custom domains

Document ID : KB000056581
Last Modified Date : 14/02/2018
Show Technical Document Details

Case Scenario:  

Cluster (Mom and 2 Collectors)
Agents (.NET, Tomcat and DummyAgents )
Each group of agents pointing to a specific custom domain as shown below:

0.png

Step 1: Connect to MOM using Admin, review supportability metrics:

a)      “Custom Metric Agent (Virtual) (SuperDomain)” supportability metrics of the MOM

1a.png

b)      Custom Metric Agent (Virtual) (LODVMAPM038@5001) -> supportability metrics of the Collector1
1b.png

c)       Custom Metric Agent (Virtual) (LODVMAPM040@5001) -> supportability metrics of the Collector 2
1c.png

Step 2: Open the MOM_HOME\config\ agentclusters.xml  and create a virtual agent for of the above supportability metrics for each custom domain using the “tgtDomain” tag. Below an example for the Tomcat users:

    <agent-cluster name="Custom-TomcatAgents MOM" domain="SuperDomain" tgtDomain="TomcatAgents">

        <agent-specifier>(.*)\|(.*)\|Custom Metric Agent \(Virtual\)</agent-specifier>

        <metric-specifier>Agents\|(.*)\|Tomcat\|(.*)</metric-specifier>

        <metric-specifier>Enterprise Manager:(.*)</metric-specifier>

        <metric-specifier>Enterprise Manager\|(.*)</metric-specifier>

    </agent-cluster>

 

    <agent-cluster name="Custom-TomcatAgents C1" domain="SuperDomain" tgtDomain="TomcatAgents">

        <agent-specifier>(.*)\|(.*)\|Custom Metric Agent \(Virtual\)(.*)LODVMAPM038@5001\)</agent-specifier>

        <metric-specifier>Agents\|(.*)\|Tomcat\|(.*)</metric-specifier>

        <metric-specifier>Enterprise Manager:(.*)</metric-specifier>

        <metric-specifier>Enterprise Manager\|(.*)</metric-specifier>

    </agent-cluster>

 

    <agent-cluster name="Custom-TomcatAgents C2" domain="SuperDomain" tgtDomain="TomcatAgents">

        <agent-specifier>(.*)\|(.*)\|Custom Metric Agent \(Virtual\)(.*)LODVMAPM040@5001\)</agent-specifier>

        <metric-specifier>Agents\|(.*)\|Tomcat\|(.*)</metric-specifier>

        <metric-specifier>Enterprise Manager:(.*)</metric-specifier>

        <metric-specifier>Enterprise Manager\|(.*)</metric-specifier>

    </agent-cluster>

 

NOTE: Regular expressions and wildcard metric specifiers such as ".*" and "(.*)" are allowed, but used with caution. Use of wildcards can result in a high volume of metrics. A higher volume of matching metrics imposes high overhead on the Enterprise Manager and can ultimately affect Enterprise Manager capacity.

Step 3: Connect as Test1 user, verify the user has access to all the supportability metrics.

3a.png

 

Create a Metric grouping to see the Overall capacity of all the tomcat agents.

3b.png