From 7f12a40e9a83996af15d9b82160264d985bafc2c Mon Sep 17 00:00:00 2001 From: Marius Bakke Date: Fri, 28 Jan 2022 16:37:18 +0100 Subject: services: zabbix-frontend: Enable IEEE754-compatible history values. * gnu/services/monitoring.scm (zabbix-front-end-config): Specify $DB['DOUBLE_IEEE754'] in the configuration file, as per current example. --- gnu/services/monitoring.scm | 3 +++ 1 file changed, 3 insertions(+) (limited to 'gnu') diff --git a/gnu/services/monitoring.scm b/gnu/services/monitoring.scm index a331bf1117..428371f2cf 100644 --- a/gnu/services/monitoring.scm +++ b/gnu/services/monitoring.scm @@ -647,6 +647,9 @@ security.") file line column 'zabbix-front-end-configuration)) // Schema name. Used for IBM DB2 and PostgreSQL. $DB['SCHEMA'] = ''; +// Use IEEE754 compatible value range for 64-bit Numeric (float) history values. +$DB['DOUBLE_IEEE754'] = true; + $ZBX_SERVER = '" zabbix-host "'; $ZBX_SERVER_PORT = '" (number->string zabbix-port) "'; $ZBX_SERVER_NAME = ''; -- cgit v1.2.3