Ad Widget

Collapse

net.if.out[] on 64bit systems

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • ProTON
    Member
    • Oct 2005
    • 77

    #1

    net.if.out[] on 64bit systems

    Hello,

    I have net.if.out[eth0] item configured as Delta (speed per second), and it always shows the same 50Gbps traffic. It was working on the 32bit system before the upgrade.

    P.S. Zabbix is recompiled after upgrade to 64bit libraries.
  • vrtareg
    Senior Member
    • May 2006
    • 293

    #2
    Hi

    I have the same problem on 64 bit systems.

    See this thread for more details.

    Areg

    Comment

    • ProTON
      Member
      • Oct 2005
      • 77

      #3
      I think I solved it -> http://www.zabbix.com/forum/showthread.php?p=17554
      Last edited by ProTON; 01-02-2007, 19:44.

      Comment

      • quekky
        Junior Member
        • Nov 2004
        • 8

        #4
        i had the same problem suddenly happening last night, and just managed to found the same solution this morning

        Comment

        • kevinappel
          Junior Member
          • Mar 2006
          • 21

          #5
          I am experiencing the same issue on 64 bit servers.
          How do you have the item configured, i.e. numeric float, or numeric integer 64 bit, units, multiplier, custom multiplier,store value?

          What steps did you take to have values start working? If you modified the type of a value stored in the DB, but it mess with your current values?

          Comment

          • ProTON
            Member
            • Oct 2005
            • 77

            #6
            Numeric (float)
            Units: bits
            Custom multiplier by 8
            Delta (speed per second)

            Database modification doesn't affect current values stored, because my patch only tells MySQL to use more bytes for all future values.

            Comment

            • kevinappel
              Junior Member
              • Mar 2006
              • 21

              #7
              Thanks for that info, one more question. From the patch it looks like you modify the value field inside the history table and prevorgvalue inside the items table. What SQL commands do I need to run to make this happen?

              Comment

              • ProTON
                Member
                • Oct 2005
                • 77

                #8
                ALTER TABLE history MODIFY value DOUBLE(24,4) DEFAULT '0.0000' NOT NULL;
                ALTER TABLE items MODIFY prevorgvalue DOUBLE(24,4) DEFAULT NULL;

                Comment

                • djinn_fr22
                  Member
                  • Jan 2007
                  • 54

                  #9
                  Works for me.

                  Thank you for the patch.

                  Comment

                  • kevinappel
                    Junior Member
                    • Mar 2006
                    • 21

                    #10
                    Thanks, so far it looks like the numbers are good

                    Comment

                    • vrtareg
                      Senior Member
                      • May 2006
                      • 293

                      #11
                      Hi

                      I use "Numeric (integer 64bit)" for the net.if.in/out items.
                      Is this not correct?
                      the data type for this items is uint.

                      Now i change data type to float and graphs corrected.
                      I also alert database.

                      Thanks
                      Areg

                      Comment

                      • ProTON
                        Member
                        • Oct 2005
                        • 77

                        #12
                        It doesn't matter which type you use. The problem is with prevorgvalue field in items table. 64bit items simply does not have enough space to fill this MySQL field.

                        Comment

                        • vrtareg
                          Senior Member
                          • May 2006
                          • 293

                          #13
                          Thanks for explaining situation.

                          Areg

                          Comment

                          • kevinappel
                            Junior Member
                            • Mar 2006
                            • 21

                            #14
                            One more question, this currently reports in bits , what do I need to change to have bytes?

                            Comment

                            • vrtareg
                              Senior Member
                              • May 2006
                              • 293

                              #15
                              Hi

                              The net.if.in/out items return result in bytes.
                              What multiplier and units do you use?

                              I set Units to Bps and set multiplier to "Do not use" and i see my results in Bps, KBps, Mbps ....

                              Areg

                              Comment

                              Working...