Member since
10-06-2017
7
Posts
1
Kudos Received
0
Solutions
01-04-2018
10:02 AM
Is it possible to get Nifi processor or processor group realtime statistics over curl? Like Read/write in last 5 minutes? I have HDP 2.6.1, Ambari 2.5.2 and integrated HDF with Nifi 1.2.0
... View more
Labels:
12-29-2017
06:25 AM
Thank you Timothy especially for the Zabbix example! Unfortunately I am looking for different kind of solution here. So my question remains. How to get Ambari metrics values via curl?
... View more
12-28-2017
07:40 AM
1 Kudo
Ambari version is 2.5.2.0, HDP version is 2.6.1.0 and Nifi version is 1.2.0 (I have HDF integrated to the Ambari).
... View more
12-28-2017
07:36 AM
I created new Reporting task in Nifi with process group ID to monitor specific Nifi process group. I can see data from this Reporting task in Grafana, but I am unable to get this metric via some API interface to pass it to the Zabbix dashboard for alerting purposes. I have tried the following: $ curl -u xxxx:******** -H 'X-Requested-By: ambari' http://myhost:6188/ws/v1/timeline/metrics?metricNames=nifi.BytesWrittenLast5Minutes.0373e5ac-51dc-33e5-93de-2037e6849c39&appId=nifi [1] 30260 $ {"metrics":[]} [1]+ Done curl -u xxxx:******** -H 'X-Requested-By: ambari' http://myhost:6188/ws/v1/timeline/metrics?metricNames=nifi.BytesWrittenLast5Minutes.0373e5ac-51dc-33e5-93de-2037e6849c39 $ and $ curl -u xxxx:******** -H 'X-Requested-By: ambari' http://myhost:6188/ws/v1/timeline/metrics?metricNames=AMBARI_METRICS.nifi.BytesWrittenLast5Minutes.0373e5ac-51dc-33e5-93de-2037e6849c39&appId=nifi [1] 1866 $ {"metrics":[]} [1]+ Done curl -u xxxx:******** -H 'X-Requested-By: ambari' http://myhost:6188/ws/v1/timeline/metrics?metricNames=AMBARI_METRICS.nifi.BytesWrittenLast5Minutes.0373e5ac-51dc-33e5-93de-2037e6849c39 $ But either of these are correct responses. What I am missing or doing wrong?
... View more
Labels:
11-02-2017
07:01 AM
Yes, I managed to solve this by upgrading Ambari GUI to version 2.5.2. After that everything went smoothly.
... View more
10-06-2017
10:30 AM
1. Nothing unusual 2. In IE I could see this error: SCRIPT5007: Unable to get property 'propertyDependsOn' of undefined or null reference app.js (67982,11) In FF I see this error: 13:18:57.572 TypeError: App.configsCollection.getConfigByName(...) is undefined 1 app.js:67983:28 App.EnhancedConfigsMixin<.undoRedoRecommended/< http://my.server.name:8080/javascripts/app.js:67983:28 forEach self-hosted:251:13 App.EnhancedConfigsMixin<.undoRedoRecommended http://my.server.name:8080/javascripts/app.js:67970:5 App.EnhancedConfigsMixin<.onSaveRecommendedPopup http://my.server.name:8080/javascripts/app.js:67957:5 App.EnhancedConfigsMixin<.showChangedDependentConfigs/< http://my.server.name:8080/javascripts/app.js:67939:9 App.showDependentConfigsPopup/<.onPrimary http://my.server.name:8080/javascripts/app.js:205542:20 Ember.wrap/newFunc http://my.server.name:8080/javascripts/vendor.js:2608:11 ActionHelper.registerAction/ActionHelper.registeredActions[actionId].handler http://my.server.name:8080/javascripts/vendor.js:21208:16 Ember.EventDispatcher<.setupHandler/< http://my.server.name:8080/javascripts/vendor.js:13000:16 f.event.dispatch http://my.server.name:8080/javascripts/vendor.js:107:4764 f.event.add/i http://my.server.name:8080/javascripts/vendor.js:107:692 3. I have tried this on two different clusters using IE and FF browsers.
... View more
10-06-2017
08:18 AM
I have a problem with adding Nifi service to HDP cluster (v2.6.1.0) using Ambari GUI (v2.5.1.0) with HDF Management Pack (v3.0.1.1-5). In Add Service Wizard finishing with Customize Services by clicking Next button it won't continue to the next screen. How to overcome this?
... View more
- Tags:
- add-service