Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

【严重】采集华为CE 系列交换机时bug #81

Open
zhanjiaxiao opened this issue Nov 16, 2020 · 0 comments
Open

【严重】采集华为CE 系列交换机时bug #81

zhanjiaxiao opened this issue Nov 16, 2020 · 0 comments

Comments

@zhanjiaxiao
Copy link

https://github.com/gaochao1/sw 下的 ifstat_snpwalk.CmdTimeout 这个函数采集华为CE 系列交换机的snmp 数据时,每次采集的新值和 上一次采集的值相同,导致 https://github.com/gaochao1/swcollector/funcs.swifstat.go 396行中的IfHCInOctets := 8 * (float64(ifStat.IfHCInOctets) - float64(lastifStat.IfHCInOctets)) / float64(interval) 为0

出图效果就是
image

这段代码,原因还在排查
image

@zhanjiaxiao zhanjiaxiao changed the title 采集华为CE 系列交换机时bug 【严重】采集华为CE 系列交换机时bug Nov 16, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant