Ad Widget

Collapse

Big values from Switch with snmpv1

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • root_master
    Junior Member
    • Dec 2005
    • 18

    #1

    Big values from Switch with snmpv1

    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
    Senior Member
    • Dec 2005
    • 166

    #2
    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

    Comment

    • root_master
      Junior Member
      • Dec 2005
      • 18

      #3
      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.

      Comment

      • Alexei
        Founder, CEO
        Zabbix Certified Trainer
        Zabbix Certified SpecialistZabbix Certified Professional
        • Sep 2004
        • 5654

        #4
        Originally posted by root_master
        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?
        Alexei Vladishev
        Creator of Zabbix, Product manager
        New York | Tokyo | Riga
        My Twitter

        Comment

        • root_master
          Junior Member
          • Dec 2005
          • 18

          #5
          yes.

          those values are stored in the database.

          Comment

          Working...