DX Application Performance Management

Expand all | Collapse all

Tracks Bytes In Use for the GC Heap on all agents

Jump to Best Answer
  • 1.  Tracks Bytes In Use for the GC Heap on all agents

    Posted 12-05-2016 07:17 AM

    Hello guys,

     

    We need to tracks "Bytes In Use" for the GC Heap on all agents, and if one of them equals 0 Bytes In Use, its necessary to send an email.

    I will attach some images to see what we already got.

     

     

     

     

    We can't see any "Bytes In Use" on Preview...   If we check the agents, they have data on "Bytes In Use".

    Another thing, in the preview, the result is the sum of "Bytes In Use" of all agents?

    If so, how can we do just to alert in case of one of the agents have 0 Bytes In Use ?

    What we want its fire an alert in case of one of all agents reports 0 Bytes In Use.

     

    Regards,

    Fernando



  • 2.  Re: Tracks Bytes In Use for the GC Heap on all agents

    Posted 12-05-2016 09:51 AM

    Hi Fernando,

     

    The last | in your regex is not escaped.

     

    You have (.*)\|(.*)\|(.*)|GC Heap:Bytes In Use

     

    Between (.*) | GC use the \ character to escape it.

     

    Thanks,

    Matt



  • 3.  Re: Tracks Bytes In Use for the GC Heap on all agents

    Posted 12-05-2016 10:05 AM

    Hello Matt,

     

    I did the change you said but we lost all the agents

     

    Agents Expressions: (.*)\|(.*)\|(.*)\|GC Heap:Bytes In Use

     

    Thanks,

    Fernando



  • 4.  Re: Tracks Bytes In Use for the GC Heap on all agents
    Best Answer

    Posted 12-05-2016 10:19 AM

    Hi Fernando,

     

    In your last screenshot, you have the Management Module selected and the regex it is asking for is for an agent expression, not a metric regex.  So change that to (.*)\|(.*)\|(.*) as you see below.

     

     

     

    Then go to your GC Heap Bytes in Use metric group, select that and use the following as your regex as per below.

     



  • 5.  Re: Tracks Bytes In Use for the GC Heap on all agents

    Posted 12-05-2016 11:36 AM

    Marking as correct answer since it was answered and branched off new question to How can i set the Threshold value for megabytes?