Grafana监控错误处理

1.Grafana添加Mysql
错误提示:Network Error: Bad Gateway(502)
Grafana监控错误处理

解决方法:
在mysql主机上使用iptables做转发
[root@mysql-s ~]# vim /etc/sysctl.conf
[root@mysql-s ~]# sysctl -p
net.ipv4.conf.all.forwarding = 1
[root@mysql-s ~]#

猜你喜欢

转载自blog.51cto.com/tongcheng/2387682