通过内置大盘查询snmp数据报错

Viewed 49

前端版本:6.0.0-ga.12
后端版本:v6.0.0-ga.12
categraf:v0.3.15

指标已经正常采集到:
image.png

后端panic报错日志:
2023/06/25 10:51:29 [Recovery] 2023/06/25 - 10:51:29 panic recovered:
runtime error: invalid memory address or nil pointer dereference
/usr/local/go/src/runtime/panic.go:260 (0x451bfc)
/usr/local/go/src/runtime/signal_unix.go:837 (0x451bcc)
/src/center/router/router_proxy.go:47 (0x10c1c2d)
/go/pkg/mod/github.com/gin-gonic/gin@v1.9.1/context.go:174 (0xaadbfa)
/src/pkg/aop/rec.go:98 (0xaadbe6)
/go/pkg/mod/github.com/gin-gonic/gin@v1.9.1/context.go:174 (0x1097779)
/src/center/router/router.go:91 (0x1097765)
/go/pkg/mod/github.com/gin-gonic/gin@v1.9.1/context.go:174 (0x10cdc88)
/src/center/router/router.go:63 (0x10cdc65)
/go/pkg/mod/github.com/gin-gonic/gin@v1.9.1/context.go:174 (0xaadbfa)
/src/pkg/aop/rec.go:98 (0xaadbe6)
/go/pkg/mod/github.com/gin-gonic/gin@v1.9.1/context.go:174 (0xa8508a)
/go/pkg/mod/github.com/gin-gonic/gin@v1.9.1/gin.go:620 (0xa84d11)
/go/pkg/mod/github.com/gin-gonic/gin@v1.9.1/gin.go:576 (0xa8483c)
/usr/local/go/src/net/http/server.go:2936 (0x72acb5)
/usr/local/go/src/net/http/server.go:1995 (0x7261d1)
/usr/local/go/src/runtime/asm_amd64.s:1598 (0x471b20)

前端报400和500错误:
image.png

1 Answers

image.png
解决了,是关联数据源这里默认配置不对,改成default后可以正常显示了