guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

06/10: services: zabbix-frontend: Enable IEEE754-compatible history valu


From: guix-commits
Subject: 06/10: services: zabbix-frontend: Enable IEEE754-compatible history values.
Date: Sat, 29 Jan 2022 06:53:59 -0500 (EST)

mbakke pushed a commit to branch master
in repository guix.

commit 7f12a40e9a83996af15d9b82160264d985bafc2c
Author: Marius Bakke <marius@gnu.org>
AuthorDate: Fri Jan 28 16:37:18 2022 +0100

    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(+)

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 = '';



reply via email to

[Prev in Thread] Current Thread [Next in Thread]