Expand my Community achievements bar.

Don’t miss the AEM Skill Exchange in SF on Nov 14—hear from industry leaders, learn best practices, and enhance your AEM strategy with practical tips.

Monitor replication agent using New Relic

Avatar

Level 4

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

7 Replies

Avatar

Level 4

Hi Vishu,

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

Thanks

Sina

Avatar

Employee

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

Avatar

Level 4

Thanks Kunwar and bsloki.

Will try and see.

Avatar

Level 4

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

get below response.

1506425_pastedImage_0.png

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.

1506427_pastedImage_2.png

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

Avatar

Level 4

automatically monitor replication agent solution with nagios posted there .

Not using new relic for monitoring and alert.