traffic issue,can not get traffic

Post support questions that directly relate to Linux/Unix operating systems.

Moderators: Developers, Moderators

Post Reply
xoudan
Posts: 17
Joined: Tue Mar 27, 2007 10:33 pm

traffic issue,can not get traffic

Post by xoudan »

when I restart net work serive,
it can get the traffic,but after about 1 day
can not get again

cacti:0.8.6.j
snmpwalk 5.4 try 5.1.2,same result
xoudan
Posts: 17
Joined: Tue Mar 27, 2007 10:33 pm

Post by xoudan »

[root@ausmysql1 linux]# snmpget -v 1 10.5.15.214 -c public IF-MIB::ifOutOctets.2
IF-MIB::ifOutOctets.2 = Counter32: 321355081

the result 321355081 seem to be grow up continuely.
when it group up to a value,then be 0

[root@ausmysql1 linux]# snmpget -v 1 10.5.15.212 -c public IF-MIB::ifOutOctets.2
IF-MIB::ifOutOctets.2 = Counter32: 0


sorry for my poor engish
xoudan
Posts: 17
Joined: Tue Mar 27, 2007 10:33 pm

Post by xoudan »

grow up..
[root@aus1ap04 ~]# snmpwalk -v 1 localhost -c public if|grep Ucast
IF-MIB::ifInUcastPkts.1 = Counter32: 95027
IF-MIB::ifInUcastPkts.2 = Counter32: 625374
IF-MIB::ifInUcastPkts.3 = Counter32: 0
IF-MIB::ifInUcastPkts.4 = Counter32: 0
IF-MIB::ifOutUcastPkts.1 = Counter32: 95059
IF-MIB::ifOutUcastPkts.2 = Counter32: 711202
IF-MIB::ifOutUcastPkts.3 = Counter32: 0
IF-MIB::ifOutUcastPkts.4 = Counter32: 0
[root@aus1ap04 ~]# snmpwalk -v 1 localhost -c public if|grep Ucast
IF-MIB::ifInUcastPkts.1 = Counter32: 95173
IF-MIB::ifInUcastPkts.2 = Counter32: 631067
IF-MIB::ifInUcastPkts.3 = Counter32: 0
IF-MIB::ifInUcastPkts.4 = Counter32: 0
IF-MIB::ifOutUcastPkts.1 = Counter32: 95205
IF-MIB::ifOutUcastPkts.2 = Counter32: 717606
IF-MIB::ifOutUcastPkts.3 = Counter32: 0
IF-MIB::ifOutUcastPkts.4 = Counter32: 0
[root@aus1ap04 ~]# snmpwalk -v 1 localhost -c public if|grep Ucast
IF-MIB::ifInUcastPkts.1 = Counter32: 95319
IF-MIB::ifInUcastPkts.2 = Counter32: 633853
IF-MIB::ifInUcastPkts.3 = Counter32: 0
IF-MIB::ifInUcastPkts.4 = Counter32: 0
IF-MIB::ifOutUcastPkts.1 = Counter32: 95351
IF-MIB::ifOutUcastPkts.2 = Counter32: 720832
IF-MIB::ifOutUcastPkts.3 = Counter32: 0
IF-MIB::ifOutUcastPkts.4 = Counter32: 0
xoudan
Posts: 17
Joined: Tue Mar 27, 2007 10:33 pm

Post by xoudan »

I log the snmpwalk output
one machine,withc 32bit couter,when group up to 4G,then to zero
date In out
05071124 2527073195 3492856114
05071125 2531745290 3504571237
05071130 2553034736 3561021875
05071140 2610684284 3687825868
05071150 2672878692 3830866870
05071200 2750652786 4028716599
05071210 2915001158 4278346505
05071220 3012939560 207845429
05071230 3095608657 420866131
05071240 3181055368 615874336
05071250 3275183012 829977403

another 64bit machine,
IF-MIB::ifInOctets.1 = Counter32: 16940144
IF-MIB::ifInOctets.2 = Counter32: 295557285796
IF-MIB::ifInOctets.3 = Counter32: 0
IF-MIB::ifInOctets.4 = Counter32: 0
IF-MIB::ifOutOctets.1 = Counter32: 16942508
IF-MIB::ifOutOctets.2 = Counter32: 1087238137535
IF-MIB::ifOutOctets.3 = Counter32: 0
IF-MIB::ifOutOctets.4 = Counter32: 0

larger then 4G
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

xoudan wrote:...
another 64bit machine,
...
For graphing COUNTERs above 32 bit, you will have to use 64bit COUNTERs and SNMP V2c. 64bit OS support has been buggy until lately. AFAIK, net-snmp 5.3 and above should work.
If graph fails, please go to graph management and post DEBUG output for a failing one (need rrdtool graph statements)
Reinhard
xoudan
Posts: 17
Joined: Tue Mar 27, 2007 10:33 pm

Post by xoudan »

gandalf wrote:
xoudan wrote:...
another 64bit machine,
...
For graphing COUNTERs above 32 bit, you will have to use 64bit COUNTERs and SNMP V2c. 64bit OS support has been buggy until lately. AFAIK, net-snmp 5.3 and above should work.
If graph fails, please go to graph management and post DEBUG output for a failing one (need rrdtool graph statements)
Reinhard

I try,the result is:
if I install cacti at amd 64bit os,it run correctly.
if I install cacti at intelbase linux,it run error.
Is that right?

server side snmp version is 5.4
client side snmp version is 5.1.2
may I need to upgrade client side version?
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

It would be a good idea to upgrade snmp on the client side only, if client is a 64bit system
Reinhard
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests