ntop/ntopng-grafana-datasource

Unable to connect/test local datasource

CDawson1 opened this issue · 2 comments

I've installed Grafana on the same server as ntop. The documentation gives an example of...

http://localhost:3001/lua/modules/grafana

...though the default ntopng instance runs on 3000. I'm not sure why it would reference 3001 at both ntop's and grafana's site. At any rate, my configuration is based on the above, but port 3000, and the rest configured as the documentation shows. Testing the configuration seemingly fails as all that's returned is a orange box with the text, if any, obscured. There is no reference to this in either the grafana or ntopng log. Grafana was restarted successfully after the plugin installation.

Further to the above, I have no issue pointing to a remote instance of ntopng.

Anyone have any comment on the above or shall I ask within Grafana's realm?

I think I see the issue, but other than a simply copy, I don't know what the proper resolution is.

I'm running the stable version of ntopng (Nov 05 '17) build) and the grafana files in /usr/share/ntopng/scripts/lua/modules are not there. In my dev build, they are. Should this not be included in the stable builds? Is this a function of downloading the plug-in from grafana, or is this something that should be provided by ntop?

....And that's because it's not supported in ntopng 3.0, only 3.1. So nevermind.