We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
sw/ifstat.go
Line 462 in 5842711
RunSnmpwalk 使用的 method 是 getnext,这样会一项一项的获取每个端口的指标数据。 有时候当获取到某个端口之后,会发生超时,并超过重试次数,但是此时其实已经采集了大部分的端口数据。
RunSnmpwalk
method
getnext
而在RunSnmpRetry函数中,一旦发生错误,则丢弃所有数据,我认为这种处理方式不太合理。
RunSnmpRetry
毕竟除了speed指标,其他采集指标之间,没有什么关联,就算某个指标有部分网卡采集超时,不应该影响其他端口的数据上报。
The text was updated successfully, but these errors were encountered:
No branches or pull requests
sw/ifstat.go
Line 462 in 5842711
RunSnmpwalk
使用的method
是getnext
,这样会一项一项的获取每个端口的指标数据。有时候当获取到某个端口之后,会发生超时,并超过重试次数,但是此时其实已经采集了大部分的端口数据。
而在
RunSnmpRetry
函数中,一旦发生错误,则丢弃所有数据,我认为这种处理方式不太合理。毕竟除了speed指标,其他采集指标之间,没有什么关联,就算某个指标有部分网卡采集超时,不应该影响其他端口的数据上报。
The text was updated successfully, but these errors were encountered: