Ad Widget

Collapse

huge numbers calculation problems?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • mike_k
    Junior Member
    • May 2006
    • 18

    #1

    huge numbers calculation problems?

    I am trying to store speed per second of the incoming and outgoing traffic on one network interface (as integer). Seems, speed for the outgoing one is incorrectly computed by zabbix. It is many times higher the interface's capabilities.

    I have a dozen of monitored interfaces on other hosts, but numbers are not so big there... This is the only case where result looks odd.

    'ifconfig eth0 | grep bytes':
    RX bytes:239478011223 (228384.0 Mb) TX bytes:2180787968981 (2079761.4 Mb)

    Actual values from zabbix_get (~10s interval):
    input octets: 239370237570, 239372338724,...
    output octets: 2176787536722, 2176822785361

    (either with net.if.out[eth0] or with cat /proc/net/dev|grep eth0|awk '{print $9}')

    output octets (speed per second):
    2006.Nov.20 22:11:12 106629273656
    2006.Nov.20 22:11:01 130319511337
    2006.Nov.20 22:10:52 106621511371
    2006.Nov.20 22:10:41 117279076348
    2006.Nov.20 22:10:31 117275108816
    2006.Nov.20 22:10:21 117271025939
    2006.Nov.20 22:10:11 146584306683

    input octets (speed per second):
    2006.Nov.20 22:10:58 141489
    2006.Nov.20 22:10:48 133696
    2006.Nov.20 22:10:38 118920
    2006.Nov.20 22:10:28 120957
    2006.Nov.20 22:10:18 119453
    2006.Nov.20 22:10:08 152677
    2006.Nov.20 22:09:58 103183

    Zabbix 1.1.4, mysql 4.1.x
Working...