GlobalNOC / globalnoc-networkmap-panel

A network map panel for Grafana
Other
196 stars 29 forks source link

Will this work with Influx DS timeseries? #85

Closed MrDibbley closed 5 years ago

MrDibbley commented 5 years ago

All of our network data is stored in a influx db, so wondered if this panel will still work with this datasource?

ladvocat commented 5 years ago

I would like to know if it can be used with Influxdb too. And how? :) Thanks!

sreemukha commented 5 years ago

Hi,

This panel should work with any time series database. The key here is that the map source JSON object endpoint names should match the target names returned by your DB. Please refer the documentation for more details.

Thanks, Sree

MrDibbley commented 5 years ago

Thanks for the update, but im still unclear how i would map my object to your json?

heres a sample from our influx output:

image

would i need the ifAlias name to match something in the panel json for it to work?

Thanks again

ladvocat commented 5 years ago

Hi @MrDibbley

I could make it work like this. The "name" variable at the json config must match the "Alias by" at the query section.

Screenshot from 2019-06-27 10-51-11 Screenshot from 2019-06-27 10-53-40

sreemukha commented 5 years ago

Hi @MrDibbley

The plugin matches the endpoint names from the map source to the target names returned by your data source. As long as they match, you should see data on the map. As @ladvocat pointed it out, you may need to use the aliasing option in your data source to match it to the endpoint name.

Thanks, @ladvocat for the response.

Hope this helps!

MrDibbley commented 5 years ago

Bingo thanks guys for the nudge :)