I’ve recently 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 pointing 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 with exactly the same configuration.
The plugin is the appropriate ntop plugin and is configured as direct access, basic authentication. Not much more to it other than it doesn’t work. Any insight is appreciated.
New edit below:
So regarding the above, I’ve created a new grafana instance on the old server to vet local/remote connectivity and it seems it’s an issue with the new instance of ntopng. In short, the old server has no issues with grafana connecting to it, whether a local or remote instance of grafana. The new server does it seems, but the issue remains as that I don’t know why. There’s no difference that I can think of with ntopng other than some minor configuration differences related to ntopng itself.
I had seen some invalid username/PW messages in the grafana log, but they seem random and not related to me attempting to connect.
So part of this seems to be related to the fact that I don’t know what grafana is telling me, and part an issue on the ntopng side.