大网数据广告活动
服务器运维问答

Cannot get interface speed with standard MIB, use highperf mib (-g)

· 52CE 我爱测

Every hour, my team is receiving an email with the following text : Shinken Notification Notification Type: PROBLEM Service: NetworkUsage Host: Monitor Address: localhost State: UNKNOWN Date/Time: 27-09-2016 Additional Info : Can…

问题原文

原帖链接 · greg0ire · CC BY-SA 3.0

Every hour, my team is receiving an email with the following text :

Shinken Notification

Notification Type: PROBLEM

Service: NetworkUsage
Host: Monitor
Address: localhost
State: UNKNOWN

Date/Time: 27-09-2016 Additional Info : Cannot get interface speed with standard MIB, use highperf mib (-g) : UNKNOWN

I think I found the server that has the problem (it's the monitoring server, since the address is localhost), but I can't figure out what to do (I'm a developer and know almost nothing about shinken, nagios or SNMP).

I think I'm missing a MIB that should be able to provide some kind of highperf function that would be able.

This is a very old server I don't know where to find / how to install this MIB.

DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=12.04
DISTRIB_CODENAME=precise
DISTRIB_DESCRIPTION="Ubuntu 12.04.5 LTS"

How can I provide this method? Alternatively, how can I disable this particular check for this particular host?

已采纳解答

原帖链接 · Peter Zhabin · CC BY-SA 3.0

This has nothing to deal with MIB. The message you get means that your interface in question uses 64-bit counters, and those are not enabled by default in check_snmp_int.pl or check_netint.pl.

As the error message suggests, you should add '-g -2' to check_snmp_int.pl command line definition under commands.cfg.

摘自公开归档,保留原文语言,版式经整理,外部媒体与邮箱地址已移除。

资料来源与适用范围

资料来源
Server Fault
适用范围
以原帖系统、软件版本与发布日期为准(2016-09-27)
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY-SA 3.0

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。