-
Incident report
-
Resolution: Fixed
-
Major
-
1.6.6
-
None
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;