Open zhangzhu16 opened 1 year ago
grafana是以iframe形式是内嵌到omp平台里,访问 http://10.253.115.28:8088/proxy/v1/grafana/d/9CWBz0bik/zhu-ji-xin-xi-mian-ban?var-node=10.253.115.39&kiosk=tv&kiosk&orgId=1 这个链接实际上是访问链接http://10.253.115.28:8090/proxy/v1/grafana/d/9CWBz0bik/zhu-ji-xin-xi-mian-ban?var-node=10.253.115.39&kiosk=tv&kiosk&orgId=1。至于这过程中为什么会出现403错误,可以看下grafana的日志及配置,结合着两者来排查
主机agent和监控agent都部署好了,点击监控想进入监控页面,发现报错了 查看nginx的access.log显示403 10.252.189.252 - - [28/Jun/2023:15:51:53 +0800] "POST /proxy/v1/grafana/api/ds/query HTTP/1.1" 403 19 "http://10.253.115.28:8088/proxy/v1/grafana/d/9CWBz0bik/zhu-ji-xin-xi-mian-ban?var-node=10.253.115.39&kiosk=tv&kiosk&orgId=1" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/105.0.0.0 Safari/537.36"
我部署的8088是omp平台的端口,8090是grafana的端口
http://10.253.115.28:8090/proxy/v1/grafana/d/9CWBz0bik/zhu-ji-xin-xi-mian-ban?var-node=10.253.115.39&kiosk=tv&kiosk&orgId=1 这个链接目前是显示正常的,我想进的链接也是这个,
为什么点击“监控”进的是 http://10.253.115.28:8088/proxy/v1/grafana/d/9CWBz0bik/zhu-ji-xin-xi-mian-ban?var-node=10.253.115.39&kiosk=tv&kiosk&orgId=1 这个链接呢
希望帮忙解答,谢谢。