aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorMarius Bakke <marius@gnu.org>2022-01-28 16:37:18 +0100
committerMarius Bakke <marius@gnu.org>2022-01-29 12:52:37 +0100
commit7f12a40e9a83996af15d9b82160264d985bafc2c (patch)
treef1a21196323ebadebcda02636c3753eaf8e0537c /gnu
parent5122805c4849034c567ca90be5de8117b2581b3e (diff)
downloadguix-7f12a40e9a83996af15d9b82160264d985bafc2c.tar.gz
guix-7f12a40e9a83996af15d9b82160264d985bafc2c.zip
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.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/services/monitoring.scm3
1 files changed, 3 insertions, 0 deletions
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 = '';