DX Application Performance Management

Expand all | Collapse all

Metrics are shown under Super Domain but not under Domain.

  • 1.  Metrics are shown under Super Domain but not under Domain.

    Posted Nov 06, 2018 05:27 PM
      |   view attached

    Hi,

     

    I have installed Host Monitoring (Infrastructure Agent) on a linux server but metrics are shown under Super Domain but not under Domain. 

    Issue:

     

    Monitoring Environment Structure:

    •     One MOM running on host name (SRPAPM31)
    •     Two collectors running on host names (SRPAPM33 and SRPAPM35)
    •     I am trying to monitor a Linux server (SRPICD51): testing with one server for now
      •     The Host Monitoring agent (Infrastructure Agent) is installed on the monitored server (SRPICD51)

      

    The domain.xml looks like this:

      

    <domain name="Host Monitoring" description="Host Monitoring">

            <agent mapping="SRPICD51"/>

            <grant group="Admin" permission="full"/>

            <grant group="IntCtrProdGrp"  permission="full"/>

    </domain>

     

    Please see the attached file for a screen shot. 

     

    Thank you in advance for your help!

     

    Ferhana



  • 2.  Re: Metrics are shown under Super Domain but not under Domain.

    Broadcom Employee
    Posted Nov 06, 2018 06:28 PM

    Include your collectors in your configuration



  • 3.  Re: Metrics are shown under Super Domain but not under Domain.

    Posted Nov 06, 2018 10:54 PM
      |   view attached

    Hi Hiko,

     

    Is this the correct way to add the collectors to the configuration?

     

     

     

    Thank you.

     

    Ferhana Siraj

    Senior IT Systems Analyst

    SRP  |  Integration and Middleware Support  |   ISB445

    P: (602) 236-6842   |   M: (602) 402-2966



  • 4.  Re: Metrics are shown under Super Domain but not under Domain.

    Broadcom Employee
    Posted Nov 06, 2018 08:26 PM

    Hi Ferhana,

    Further to Hiko's advice did you deploy the modified domains.xml file to your Collectors as well as the MOM?

    I saw similar to your screenshot when I only deployed my updated domains.xml file to MOM and not my Collector:

    <domain name="Host Monitoring" description="Host Monitoring">
    <agent mapping="willy03-I2438\|Infrastructure\|.*"/>
    <grant group="Admin" permission="full"/>
    </domain>

    After deploy domains.xml to Collector I now get expected result:

     

     

    Regards,

     

    Lynn



  • 5.  Re: Metrics are shown under Super Domain but not under Domain.

    Posted Nov 06, 2018 10:58 PM
      |   view attached

    Hi Lynn,

     

    Thank you again for your help!  Yes, I made sure the domains.xml file is the same for the MOM and 2 collectors.

     

    How do I add the collectors to the configuration? Is this the correct way to do it?

     

     

     

    Thanks again!

     

    Ferhana Siraj

    Senior IT Systems Analyst

    SRP  |  Integration and Middleware Support  |   ISB445

    P: (602) 236-6842   |   M: (602) 402-2966



  • 6.  Re: Metrics are shown under Super Domain but not under Domain.

    Broadcom Employee
    Posted Nov 06, 2018 11:23 PM

    Hi Ferhana,

    In the agent profile you just target the MOM with agentManager.url.1

    Then in the MOM config file IntroscopeEnterpriseManager.properties you list the 2 Collectors

    The MOM will then redirect the agent to a Collector according to load balancing (using default loadbalancing.xml file to start with is fine).

     

    Did you add your new domains.xml entry before the default wildcard entry for all agents mapping? i.e. before this entry:

    <SuperDomain>
    <agent mapping="(.*)"/>
    <grant group="Admin" permission="full"/>
    <grant user="Guest" permission="read"/>
    </SuperDomain>

    You need to do that otherwise the wildcard entry will take precedence over your new entry and still put the agent under SuperDomain only.

     

    Hope that helps

     

    Lynn



  • 7.  Re: Metrics are shown under Super Domain but not under Domain.

    Posted Nov 06, 2018 11:44 PM
      |   view attached

    Yes, new domains.xml entry is before the SuperDomain entry:

     

     

     

    Thank you.

     

    Ferhana Siraj

    Senior IT Systems Analyst

    SRP  |  Integration and Middleware Support  |   ISB445

    P: (602) 236-6842   |   M: (602) 402-2966



  • 8.  Re: Metrics are shown under Super Domain but not under Domain.

    Broadcom Employee
    Posted Nov 06, 2018 11:24 PM

    Sorry Ferhana,

    My mistake on my previous statement. I was confusing domains.xml with loadbalancing.xml.

     

    We need to ensure your domains.xml should be replicated to from MOM to collectors. Make sure your agent mapping is including the agents you want.



  • 9.  Re: Metrics are shown under Super Domain but not under Domain.

    Posted Nov 06, 2018 11:25 PM

    Hi Lynn and Hiko,

     

    I have made some changes to the domains.xml file on the EM and 2 collectors .

     

     

    Restarted the EM and Infrastructure agent, but still nothing is shown under the domain:

     

     

     

     

    Thank you.

     

    Ferhana Siraj

    Senior IT Systems Analyst

    SRP  |  Integration and Middleware Support  |   ISB445

    P: (602) 236-6842   |   M: (602) 402-2966



  • 10.  Re: Metrics are shown under Super Domain but not under Domain.

    Broadcom Employee
    Posted Nov 06, 2018 11:35 PM

    Hi Ferhana,

    Our posts may have crossed. Did you see my advice to make sure you add your new domains.xml entry before the default wildcard entry for all agents mapping?

    Thanks

    Lynn



  • 11.  Re: Metrics are shown under Super Domain but not under Domain.
    Best Answer

    Broadcom Employee
    Posted Nov 07, 2018 12:13 AM

    Hi Ferhana,

    I think the root cause may be the case of your domain.xml entry for "SRPICD51" because the hostname on the UI is lowercase "srpicd51" and agent mapping uses regex which is case dependent.

    Please try "srpicd51" in the domains.xml file.

    Thanks

    Lynn



  • 12.  Re: Metrics are shown under Super Domain but not under Domain.

    Posted Nov 07, 2018 12:49 AM

    Lynn,

     

    You are SUPER awesome!!! It worked when I changed the host name to lowercase as you said. "srpicd51"

     

    Thank you so much!!!!

     

    Ferhana Siraj

    Senior IT Systems Analyst

    SRP  |  Integration and Middleware Support  |   ISB445

    P: (602) 236-6842   |   M: (602) 402-2966