用户名: 密码: 忘记密码? 注册

监控精进之SNMP

作者:  时间: 2010-09-07
力量的源泉:
http://www.snmp.com/protocol/supported_rfcs.shtml
 
具体到linux:
 

Linux SNMP OID’s for CPU,Memory and Disk Statistics

http://www.debianadmin.com/linux-snmp-oids-for-cpumemory-and-disk-statistics.html

转化为mib值 和OID的转换

#mib2c IF-MIB::ifInOctets.1

网络流量

 32-bit v1 counters
.1.3.6.1.2.1.2.2.1.10 ifInOctets
.1.3.6.1.2.1.2.2.1.16 ifOutOctets

64-bit v2c counters
.1.3.6.1.2.1.31.1.1.1.6 ifHCInOctets
.1.3.6.1.2.1.31.1.1.1.10 ifHCOutOctets