Comments (15)
Hello, I do have the same problem, I followed your advices @jhammons - thanks- but I still have no data in Grafana. In Netdata it works. I think I have the same problem as @Quiwy .
I reinstalled both Netdata and Grafane, strating with Netdata.
from grafana_ynh.
I've really missed reactivity for the past months/years... But today I'm releasing a fix version of this package that should make working any initial installation, and your comments/PR helped a lot! Thanks! β€οΈ
from grafana_ynh.
The issue is that influxdb (/etc/influxdb/influxdb.conf) doesn't have opentsdb enabled for some reason. I worked around the issue by adding this to the configuration:
[[opentsdb]]
enabled = true
bind-address = ":4242"
database = "opentsdb"
Then, restart influxdb and data should be flowing.
from grafana_ynh.
The issue is that influxdb (/etc/influxdb/influxdb.conf) doesn't have opentsdb enabled for some reason. I worked around the issue by adding this to the configuration:
[[opentsdb]] enabled = true bind-address = ":4242" database = "opentsdb"
Then, restart influxdb and data should be flowing.
Still have 'no data' on graphana charts after modifying the file π
from grafana_ynh.
Oh, one thing I had to do that I failed to mention. I installed influxdb-client, ran influx and then create database opentsdb
... I hope that helps.
Also, did you restart netdata? sudo systemctl restart netdata.service
?
from grafana_ynh.
Still have nothing in graphana π , even if it looks like there is something in the influx database (not sure how to read it though).
Yes I restarded netdata service too, and no change.
from grafana_ynh.
So you just need to make sure Grafana is reading from influxdb properly. What do the settings for InfluxDB in 'Data sources' reveal? Is 'opentsdb' the database name?
from grafana_ynh.
HEre are the details of data sources in graphana configuration.
from grafana_ynh.
I think you should not set the HTTP Method.
from grafana_ynh.
Well, the HTTP method was set by default to post, I changed nothing on this parameter, and it doesn't works with get method neither.
from grafana_ynh.
I had the same issue today, and was able to resolve it thanks to the comments above, mostly following the installer script line by line. I found that exporting.conf
didn't exist for me in the netdata conf section. Changing the influxdb conf was a headfake, I ended up getting it working with a version that was unaltered from original.
sudo nano /opt/netdata/etc/netdata/exporting.conf
[exporting:global]
enabled = yes
[opentsdb:yunohost]
enabled = yes
destination = localhost:4242
# data source = average
# prefix = netdata
# hostname = my_hostname
update every = 60
# buffer on failures = 10
# timeout ms = 20000
# send names instead of ids = yes
# send charts matching = *
# send hosts matching = localhost *
the working version of my influxdb.conf looks like this
[[opentsdb]]
# enabled = true
# bind-address = ":4242"
# database = "opentsdb"
# retention-policy = ""
# consistency-level = "one"
# tls-enabled = true
# certificate= "/etc/ssl/influxdb.pem"
from grafana_ynh.
Thanks @ColonelBuendia it worked!
You also have to restart netdata, influxdb and grafana-server services after creating the /opt/netdata/etc/netdata/exporting.conf
file:
systemctl restart netdata
systemctl restart influxdb
systemctl restart grafana-server
from grafana_ynh.
I found that
exporting.conf
didn't exist for me in the netdata conf section.
sudo nano /opt/netdata/etc/netdata/exporting.conf
[exporting:global] enabled = yes [opentsdb:yunohost] enabled = yes destination = localhost:4242 # data source = average # prefix = netdata # hostname = my_hostname update every = 60 # buffer on failures = 10 # timeout ms = 20000 # send names instead of ids = yes # send charts matching = * # send hosts matching = localhost *
Thank you @ColonelBuendia I missed that part when I read the install script line by line to see if something was missing, I now have data on my graphs π
Don't know what went wrong during installation π
from grafana_ynh.
I confirm it works also for me: big thanks to @ColonelBuendia !!!! π π π₯³ π» π
from grafana_ynh.
Hi, it would help to keep the issue open if it's supposed to work out of the box, at least until #26 is merged. Makes it easier to find the solution.
Also, I changed the influxdb config and enabled the opentsdb, if anyone else struggles.
from grafana_ynh.
Related Issues (20)
- La page nβest pas redirigΓ©e correctement HOT 14
- Ask the user before installing InfluxDB
- Service needs to be restart after each reboot HOT 6
- Can't install grafana_ynh when influx2 already installed (by scrutiny_ynh) HOT 1
- use binaries instead of deb? HOT 2
- Ipv4 graph empty for eth0 HOT 3
- wont install HOT 1
- Incorrect Redirect
- Netdata panel not working after install HOT 13
- Unclean uninstall HOT 2
- pb whit ldap : LOG15_ERROR HOT 9
- Backup fails because /var/lib/grafana/plugins is missing HOT 1
- Network error: Bad gateway (502) HOT 2
- Error when trying to restore grafana from a backup
- Install additional Grafana-Addon HOT 1
- [Security] High severity in Grafana shipped version HOT 2
- Expose Admin, Viewer and Editor permission
- Update to InfluxDB 2
- Include all InfluxDB databases in backup HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from grafana_ynh.