Details

    • Type: Incident report
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.6.6
    • Fix Version/s: 1.8.3
    • Component/s: Server (S)
    • Labels:
      None

      Description

      11991:20091021:104038 Item [c7proxy25:net.if.out[em0,bytes]] error: Type of received value [22890672986915.000000] is not suitable for value type [Numeric (float)]
      11991:20091021:104042 Item [c7fl01.is74.ru:net.if.in[eth0,bytes]] error: Type of received value [417324563695209.000000] is not suitable for value type [Numeric (float)]
      11991:20091021:104042 Item [ns3.is74.ru:net.if.in[eth0,bytes]] error: Type of received value [1027792344644.000000] is not suitable for value type [Numeric (float)]
      11991:20091021:104042 Item [ns3.is74.ru:net.if.out[eth0,bytes]] error: Type of received value [1136415884523.000000] is not suitable for value type [Numeric (float)]
      11991:20091021:104054 Item [c7ids01.is74.ru:net.if.in[eth1,bytes]] error: Type of received value [251076685457392.000000] is not suitable for value type [Numeric (float)]

      Patch:
      Index: src/libs/zbxsysinfo/sysinfo.c
      ===================================================================
      — src/libs/zbxsysinfo/sysinfo.c (revision 8111)
      +++ src/libs/zbxsysinfo/sysinfo.c (working copy)
      @@ -539,8 +539,8 @@
      {
      #if defined(HAVE_POSTGRESQL) || defined(HAVE_ORACLE) || defined(HAVE_SQLITE3)
      /* field with precision 16, scale 4 [NUMERIC(16,4)] */

      • register double pg_min_numeric = (double)-1E12;
      • register double pg_max_numeric = (double)1E12;
        + register double pg_min_numeric = (double)-1E16;
        + register double pg_max_numeric = (double)1E16;

      if (value <= pg_min_numeric || value >= pg_max_numeric)
      return FAIL;

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                dotneft Alexey Pustovalov
              • Votes:
                7 Vote for this issue
                Watchers:
                7 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: