PDA

View Full Version : Big values from Switch with snmpv1


root_master
22-12-2005, 15:27
Hello,

i use zabbix 1.1beta4 and want get the traffic information from a snmp v1 switch. (snmpv2 does not supported)

snmpget works fine

snmpget -v 1 -On -c monitor switch01 ifInOctets.213
.1.3.6.1.2.1.2.2.1.10.213 = Counter32: 1131069068

but in zabbix it will be show as 1000000000 (if it compiled with gcc 4.0) or 0 (if it compiled with gcc-3.3)

i've read in the forum, that i need the checks_snmp.c from the cvs...

but the version from cvs is the same like the 1.1beta4.


does anybody a idea ? because i cant use snmp v2 (with snmpv2 on a other switch works fine).

thank a lot

root_master

pdwalker
22-12-2005, 20:35
If you cannot find a fix for handling the big numbers, you might want to try using a decimal multiplier to bring the number down to something smaller so you can at least graph them, say.. .001? .000001?

- Paul

root_master
23-12-2005, 09:40
yes, i can reset the switch. but i'll don't do this.

with snmpv2c it works fine.

maybe it is a varables problem with int.

Alexei
23-12-2005, 10:00
i use zabbix 1.1beta4 and want get the traffic information from a snmp v1 switch. (snmpv2 does not supported)

snmpget works fine

snmpget -v 1 -On -c monitor switch01 ifInOctets.213
.1.3.6.1.2.1.2.2.1.10.213 = Counter32: 1131069068

but in zabbix it will be show as 1000000000 (if it compiled with gcc 4.0) or 0 (if it compiled with gcc-3.3)

It is very strange. I do not understand how GCC version may affect this functionality. Do you see these values in ZABBIX database, table history?

root_master
23-12-2005, 10:29
yes.

those values are stored in the database.