adejoux / nmon2influxdb

Make NMON data dynamic with InfluxDB
GNU Affero General Public License v3.0
80 stars 29 forks source link

suppport for influxdb 1.2.0-1 #46

Closed adilnaimi closed 7 years ago

adilnaimi commented 7 years ago

I have built a new server to test influxdb 1.2.0-1 using the same data I'm already using for influx 0.9

but seems grafana dashbord can't load data from influxdb 1.2

image

PS: I'm using gravana 4.1.1-1484211277

adejoux commented 7 years ago

Hello,

I tested it on a new vm and nmon2influxdb is working with influxdb 1.2.0 and grafana 4.1.1.

Can you check your datasource configuration ?

image

And I am using influxdb 1.2.0: image

Save and test should display success. Something which can have changed is the way grafana is connecting to influxdb. Here it's direct but if it's not working you should try proxy.

Let me know what happens.

Also use version 2.1.3. I fixed a huge bug in nmon import performance.

Thanks,

Alain

adilnaimi commented 7 years ago

Actually, I did not configure garafana datasource, I let nmon2influxd autoconfigure and by default it set to proxy.

I have manually change it to proxy and the connection it's working fine, but still no metrics graphs showing on grafana, it might be an error in my config I'll check before closing the issue.

PS: Regarding the version 2.1.3, Yes, This exercise was about testing 2.1.3 with newer grafana and influxdb version

adilnaimi commented 7 years ago

After changing grafana connection to mode proxy, it's working fine

image

I have used grafana_access="proxy" in my ~/..nmon2influxdb.cfg

adejoux commented 7 years ago

Great news. Maybe I should switch the default value to "proxy"...

Closed.

adilnaimi commented 7 years ago

Thanks for the awesome support.

Not sure if putting default to "proxy" will help in all cases, my case is grafana and influx are running as a process (RPM) packages, I'm not sure about the docker case when running grafana in a container and link it to influx container