Uploaded image for project: 'ZABBIX BUGS AND ISSUES'
  1. ZABBIX BUGS AND ISSUES
  2. ZBX-15173

Can't monitor traffic on interfaces with speed more then 500 Mbit/s by SNMP

XMLWordPrintable

    • Icon: Problem report Problem report
    • Resolution: Won't fix
    • Icon: Minor Minor
    • None
    • 4.0.1
    • None
    • None

      Hello!

      When we are trying to get traffic speed on some interface using SNMP it fails when the speed is much more then 100 MBit/s. I have interfaces with 500 Mbit/s average traffic and I get the situation.

      Details:

      Detault SNMP template with Interfaces discovery. And item (Incoming\Outgoing) traffic on interface $1 is checked with 1 minute interval. But values are saved in zabbix once at several minutes or even rarely. I have setup snmpd for test on one of my gigabit servers to show you. Here is it's interface stats exported from zabbix:

      test на h4: Outgoing traffic on interface virbr0

      2018-11-15 18:10:27 1542294627 536632784
      2018-11-15 17:53:27 1542293607 539553200

       

      And that's all since 17:30.

       

      As I can get the root of the problem is that traffic ammount in snmp is stored in 32bit integer, so it's rotated to zero after 4GB sent. And on gigabit link it can be faster then the minute. So default template settings will not work.

       

      I've resolved the problem by changing 1 minute interval  to 30 second, but can't imagine what will I do with 10Gbit/s routers.

            Unassigned Unassigned
            iprok Ivan Prokudin
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: