Monitor replication agent using New Relic | Community
Skip to main content
msina
Level 3
June 8, 2018

Monitor replication agent using New Relic

  • June 8, 2018
  • 4 replies
  • 5783 views

Hi,

We are using New Relic for AEM instances monitoring (cpu,memory,disk,processe ,JVM etc..).Could you please suggest how can i monitor the replication agents using  new relic.Any one used any New Relic plugin or agent.I could not find any solution.

Thanks

Sina

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

4 replies

Adobe Employee
June 8, 2018

Hello Sina,

Did you take a look at this post - https://discuss.newrelic.com/t/checking-replication-agents-status-and-pending-count/13194 ?

Regards,

Vishu

msina
msinaAuthor
Level 3
June 8, 2018

Hi Vishu,

I have seen this already but it down not say about any solution.

Thanks

Sina

Adobe Employee
June 8, 2018

You need to create your custom object for newrelic to consume replication JMX mbeans. See (1) to understand how to go about it.

Mbean to be consumed for replication would be (2)

(1) : Custom JMX instrumentation by YAML | New Relic Documentation

(2) : http://HOST:PORT/system/console/jmx/com.adobe.granite.replication:id="publish",type=agent

Lokesh_Shivalingaiah
Level 10
June 8, 2018

you should collect custom metrics for the same and as kunwar mentioned you can try with YAML.

Below are some URLs which might help

Custom JMX instrumentation by YAML | New Relic Documentation

Custom JMX YAML examples | New Relic Documentation

msina
msinaAuthor
Level 3
June 8, 2018

Thanks Kunwar and bsloki.

Will try and see.

msina
msinaAuthor
Level 3
June 11, 2018

When hit URL   http://auth01.cms.9c9media.net:4502/system/console/jmx/com.adobe.granite.replication:id="publish",type=agent

get below response.

But in New Relic we don't get the attribute value as expected.Its showing more like below screenshot.e.g If i want to check QueueBlocked  value False/True and if True then generate an alert.

Our main goal is to monitor replication agents and create alert if any one of them stop working.How can we achieve that any suggestion.

Here is our yml file configurations:

name: AEM-JMX

version: 1.0

enabled: true

jmx:

  - object_name: com.adobe.granite.replication:id="publish",type=agent

    metrics:

      - attributes: QueueBlocked, Enabled, QueuePaused

        type: simple

  - object_name: com.adobe.granite.replication:id="publish",type=agent

    metrics:

      - attributes: QueueStatusTime, QueueNumEntries

        type: monotonically_increasing

msina
msinaAuthor
Level 3
July 31, 2018

automatically monitor replication agent solution with nagios posted there .

Not using new relic for monitoring and alert.