Ad Widget

Collapse

Wrong SNMP traffic values

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • welkin
    Senior Member
    • Mar 2007
    • 132

    #1

    Wrong SNMP traffic values

    Hello there,

    I have some Problems with Monitoring SNMP v2c IfinOctets and IfOutOctets.
    Zabbix is Monitoring a HP ProCurve Switch to get interface statistics but there seems to be something wrong with the values i get.
    E.g. I've tested the actual speed of the ProCurve switch (it is a Gbit switch) .
    So i connected two PC's to two ports, created a ramdisk on both and copied a 1GB file via http. Wget says i get 110M/sec which should be around 880 Mbits. Zabbix although says something around 550Mbit (and cacti btw too). The Values in Zabbix are stored in a 64Bit Float variable and taken as Speed per Second with a Custom Multiplier of "8" because the switch should return Octets but i want Bits.
    So where are the 550Mbit's coming from? It seems not to be a Zabbix specific problem because cacti too gives me around 550Mbit but i hope someone can help me anyway.

    thanks in advance
    welkin
  • bobrivers
    Senior Member
    • Feb 2007
    • 115

    #2
    Mistake

    Hi,

    I think that you did a little mistake: an octet is equals to 8 bits. So, in order to convert the results, you cannot multiply the it by 8, in fact you should divide it by 8...

    But, Zabbix only allows you to multiply, so, use 0.125 (1/8) as a custom multiplier.

    I'm using Zabbix to monitor some cisco routers, and everything is working fine.

    My item (ifInOctets1) looks like:

    Type of information: Numeric (float)
    Units: bits
    Use multiplier: custom multiplier
    Custom multiplier: 0.125

    Comment

    • welkin
      Senior Member
      • Mar 2007
      • 132

      #3
      Well infact i don't think so because : 1 Octet equals 8 Bit as you said but if i got e.g. a value of 100 for a Delta of 30Sec i have to multiply it by 8 to get Bits and not Octets because 1 Octet stands so to say for 8 Bit.
      I wonder how your values can be correct.
      mfg
      welkin

      Comment

      • pss7
        Junior Member
        • Nov 2006
        • 1

        #4
        multiply the values by 8 and set the unit to bit

        Last edited by pss7; 29-02-2008, 13:53. Reason: greetings from freud..

        Comment

        Working...