SNMP incorrect data
I have weird problem.I have 3 servers.
devil - dual opteron /w 3 LAN's, 2048MB ram (gameserver, gateway) centos 3.5
hell - a64 /w 1024MB ram (gameserver) centos 3.5
flame - T-bred 2600+, 1024MB ram (web, ftp and all that stuff) centos 4.1
Now the problem is that i want to draw some stats about the cpu usage, network usage and so on).
But it seems like one of the servers is returning faulty data.
if I query from withing the devil AND from hell:
Code:
[root@devil snmp]# snmpwalk -v1 -c gofigure devil.xservu.com 1.3.6.1.2.1.2.2.1.10 IF-MIB::ifInOctets.1 = Counter32: 1766461 IF-MIB::ifInOctets.2 = Counter32: 94224487242 IF-MIB::ifInOctets.3 = Counter32: 927984233093 IF-MIB::ifInOctets.4 = Counter32: 478090226995 IF-MIB::ifInOctets.5 = Counter32: 991893960329
but if i query from flame (or any other linux system i have laid my hand on (6-7 on them)) it returns
Code:
[root@flame rrd_dbs]# snmpwalk -v1 -c gofigure devil.xservu.com 1.3.6.1.2.1.2.2.1.10 IF-MIB::ifInOctets.1 = Counter32: 1766387 IF-MIB::ifInOctets.2 = Counter32: 1766387 IF-MIB::ifInOctets.3 = Counter32: 1766387 IF-MIB::ifInOctets.4 = Counter32: 1766387 IF-MIB::ifInOctets.5 = Counter32: 1766387
for reference devices info:
Code:
[root@devil snmp]# snmpwalk -v1 -c gofigure devil.xservu.com 1.3.6.1.2.1.2.2.1.2 IF-MIB::ifDescr.1 = STRING: lo IF-MIB::ifDescr.2 = STRING: eth0 IF-MIB::ifDescr.3 = STRING: eth1 IF-MIB::ifDescr.4 = STRING: eth2 IF-MIB::ifDescr.5 = STRING: eth9
eth2 is my ISP's side device.
I have also taken centos 4.1 srpm and rebuilt it and installed it on devil, but still getting the same results.
weird is that all other data is returned correctly (num of packets for example).