Ad Widget

Collapse

Problem with high numbers from SNMP counters

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Kayou
    Junior Member
    • Jan 2005
    • 17

    #1

    Problem with high numbers from SNMP counters

    Hello,

    I m getting lot of troubles with very high values comming either from snmp counters or from custom parameters :

    - We get more and more new network stuff with very high network capacity (Gb link minimum - 10 Gb links, high compression bandwidth stuff, etc ..)

    These equipements are comming now with SNMPV2c+ libraries and with 64 bits values to be able to get correctly the real stats and most of new equipements on the market will come more and more with such counter.

    When we try to get the value through snmpv2 type in iten config, the value is incorrect or null. The manual snmpget command get the value without any trouble. So we had to get it manualy from a custom parameter in an agentd conf file, for example :

    F5002[PublicOut],snmpget -c community -v 2c -O qv private_IP .1.3.6.1.4.1.3375.2.1.2.4.4.3.1.3.3.50.46.50

    And Zabbix get the value OK. we use speed per second type and we get Bps ok.

    But we try to apply a custom multiplier to get bps for example and it is ok until the value from the snmpget goes too high (on 64 bits value it can go far until it resets). Then you get wrong values. Your value can go in a second from a few Mbps to hundreds of Gbps.

    I just think that the type of the variable zabbix can handle get overflowed at some point. I think this problem is existing too with zabbix 1.0 though limited because you cant apply directly custom multiplier.

    Anyone met that problem yet ?

    Kayou
  • James Wells
    Senior Member
    • Jun 2005
    • 664

    #2
    Greetings,

    I suspect the problem is in the Zabbix UI, and not the server. Please check the values in the database to see if they are correct.
    Unofficial Zabbix Developer

    Comment

    • Kayou
      Junior Member
      • Jan 2005
      • 17

      #3
      Hello,

      I did some test and check the database :

      - Yes the value seems the right one in the database, i did use snmpget and some select to compare the values and they are ok (though i was on "As Is" mode to check the real values of the item.

      - Second thing i discovered is that the value stored in the database is the value * custom multiplier. If you have a custom multiplier of 8, you ll have the value*8 stored wich is worrying me because it means you loose the real original value for later use or for other software ?

      - Third thing, via snmpv2 item type, the value in database is wrong, only wayt to get it is still to get it through custom parameter and snmpget manual command.


      So yes i think there is at least a problem with the UI as you said, but there is too with the poller module of zabbix_server.

      Kayou

      Comment

      Working...