Archives of Support Questions (Read Only)

This is an archived board for historical reference. Information and links may no longer be available or relevant
Announcements
This board is archived and read-only for historical reference. To ask a new question, please post a new topic on the appropriate active board.

Ambari metrics widget (custom) for service cannot be added to service dashboard

avatar
New Member

I'm running a NIFI cluster (1 NCM and 3 nodes) with ambari. I have added metrics and widget definition to it . Data are collected (present in DB) but the widget are not added to the service dashboard. When trying to add them (they are visible in the "browse widgets") nothing happens . On the service dashboard ,I cannot create any widget either.

1 ACCEPTED SOLUTION

avatar

+ @bbende

@Daniel Hendrix couple of things to check

1. Ambari metrics service is up

2, The metrics in question are appearing in AMS. You can query AMS using phoenix.

Here is a collection of useful links on building metrics integration (including official apache page and Bryans blog on this and sample code)

View solution in original post

7 REPLIES 7

avatar
Master Mentor

@Daniel Hendrix

What did you use to integrate nifi with ambari ?

Official repo or a repo from github?

avatar
Master Mentor

https://issues.apache.org/jira/plugins/servlet/mobile#issue/AMBARI-9156

I suggest to wait for official version of repo.

avatar
Master Mentor
@Daniel Vielvoye

it's not yet supported but in general you can refer to this api to add metrics https://cwiki.apache.org/confluence/display/AMBARI/Metrics+Collector+API+Specification

avatar

+ @bbende

@Daniel Hendrix couple of things to check

1. Ambari metrics service is up

2, The metrics in question are appearing in AMS. You can query AMS using phoenix.

Here is a collection of useful links on building metrics integration (including official apache page and Bryans blog on this and sample code)

avatar
New Member

avatar
New Member

on general : I follow the tuto from http://bryanbende.com/development/2015/07/31/ambari-metrics-part2-metrics-collector/ and install guidelines (http://docs.hortonworks.com/HDPDocuments/Ambari-2.2.0.0/bk_Installing_HDP_AMB/content/index.html)

- Ambari metrics is up and working correctly to monitor systems and HDFS usage.

- I did install the repo from Horton (HDP with ambari 2.2) for Nifi I started with the repo from Ali and modified it to create the NCM node and the slaves nodes.

- I also used the AmbariReport in Nifi (I think work from Bryan in the Nifi service provided by Ali)

-I checked with phoenix :data are present in database

avatar
New Member

A quick update : I did reinstall Ambari completely and also re-check all my config files : at least now the add widget is working but still does not display data (while phoenix shows data in hbase) I suspect something with the fact that I collect data on the 3 NiFi nodes while I try to display them for the whole service ...