Ad Widget

Collapse

SNMP monitoring, Network total transfer in bytes with limited 32bits SNMP counters

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • cyrus
    Junior Member
    • May 2013
    • 2

    #1

    SNMP monitoring, Network total transfer in bytes with limited 32bits SNMP counters

    Hi,

    I am having an issue with a template i am trying to do.

    I found on several website that i am not alone with this issue but never found an answer.


    The total incoming / outgoing network traffic of my device is on an SNMP ID.

    I can get it with zabbix but as the counter is in 32 bits, it is limited to 4096 bits.

    So when someone is downloading a 5 Gig file, the counter goes to 4096 and then back to zero and goes up to 1 gig.

    The problem is when i set the data to "delta speed per second", the value is not "correct" as it is an average of the value per second depending of the snmp item.

    When i set to Delta (simple change), it would work except that when the difference between 4096 (maximum value) the new value is a "minus" value.

    So my graph never reach more than 4096.

    I tried several calculated items but cannot get rid of "minus" values.

    Is anyone found a way to calculate the total data transfer of an interface with 32 bits SNMP counters ?


    Thanks in advance for your answers.
  • nilie
    Junior Member
    • May 2013
    • 16

    #2
    I don't know much about the device you are monitoring but at a minimum, it has to support :
    - SNMP v2c or 3
    - 64bit counters

    so you can use ifHCInOctets (1.3.6.1.2.1.31.1.1.1.6) and ifHCOutOctets (1.3.6.1.2.1.31.1.1.1.10)

    Hope that helps

    Comment

    • cyrus
      Junior Member
      • May 2013
      • 2

      #3
      Thank you for your answer.

      My problem is that the 64 bits counter does not exist on this device, it just reset to 0 when it reach it's max.

      Comment

      Working...