Comments (13)
Hi, thanks for reporting!
I've created PR #15 to fix it, could you please test it?
from grafana_ynh.
It works :)
But now I have "no data points" everywhere.
Maybe it's unrelated, I had this on a KVM VPS before. But now I have it too on a Raspberry PI.
from grafana_ynh.
I had this issue in a virtualized environment as well: the default dashboard points to /dev/sd* disks whereas my virtual disks were named /dev/vd*. So I just edited the panels to point to the right location.
What about yours?
from grafana_ynh.
It's /dev/dm-*. But I don't understand why this would leave for instance CPU utilisation empty.
And changing "sda" to "dm-0" (for instance) in Disk space usage doesn't change anything.
(can't Netdata detect the correct CPU, and share that with Grafana ?)
from grafana_ynh.
How is the connection from Grafana to Influxdb (Configuration/Data Sources/InfluxDB/Save and Test)?
What is the status of netdata and influxdb (systemctl status netdata (or influxdb
)?
You can also search in netdata logs if there is a connection problem to the backend (influxdb): /opt/netdata/var/log/netdata/error.log
.
from grafana_ynh.
How is the connection from Grafana to Influxdb (Configuration/Data Sources/InfluxDB/Save and Test)?
"Data source is working"
What is the status of netdata and influxdb (systemctl status netdata (or influxdb)?
Netdata is fine.
Same for influxdb.
I tried to restart both, same issue.
netdata INFO : PLUGINSD[python.d] : File /opt/netdata/var/cache/netdata/web_log_my_domain_tld.http_method/PUT.db is too old (last collected 766397 seconds ago, but the database is 4000 seconds). Clearing it.
netdata ERROR : BACKENDS : Failed to connect to '::1', port '4242' (errno 111, Connection refused)
netdata ERROR : BACKENDS : Failed to connect to '127.0.0.1', port '4242' (errno 111, Connection refused)
netdata ERROR : BACKENDS : BACKEND: failed to update database backend 'localhost:4242'
from grafana_ynh.
Can you do a netstat -lapute
and check if influxdb is listening to TCP port 4242?
If not, can you check /etc/influxdb/influxdb.conf
and see if enabled = true
is present in ``[[opentsdb]]` section?
from grafana_ynh.
It does not.
The whole opentsdb part is commented (so enabled = True is commented)
from grafana_ynh.
OK, then could you please:
- share your
influxdb.conf
file - try to enable opentsdb in it and reload influxdb service to check everything is working?
from grafana_ynh.
I de-commented everything in that file. The no data points disappeared, but now on the corner of each graph I have a warning "502 bad gateway"
It looks like that
[[opentsdb]]
enabled = true
bind-address = ":4242"
database = "opentsdb"
retention-policy = ""
consistency-level = "one"
tls-enabled = true
certificate= "/etc/ssl/influxdb.pem"
# Log an error for every malformed point.
log-point-errors = true
# These next lines control how batching works. You should have this enabled
# otherwise you could get dropped metrics or poor performance. Only points
# metrics received over the telnet protocol undergo batching.
# Flush if this many points get buffered
batch-size = 1000
# Number of batches that may be pending in memory
batch-pending = 5
# Flush at least this often even if we haven't hit buffer limit
batch-timeout = "1s"
from grafana_ynh.
You only have to uncomment the "enabled" line (see here)...
Furthermore, could you please share the original file, so that I can see what's to fix?
from grafana_ynh.
Ok with only this line uncommented, it works.
Thanks ! :)
Furthermore, could you please share the original file, so that I can see what's to fix?
You mean before de-commenting ?
from grafana_ynh.
Yes, the PR was supposed to uncomment this line (it worked for me), but curiously it didn't work on your server...
from grafana_ynh.
Related Issues (20)
- La page n’est pas redirigée correctement HOT 14
- No new data - even when restarting the services 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
- 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
- Graphs shows "no data" HOT 15
- 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.