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.
This commit is contained in:
Marius Bakke 2022-01-28 16:37:18 +01:00
parent 5122805c48
commit 7f12a40e9a
No known key found for this signature in database
GPG key ID: A2A06DF2A33A54FA

View file

@ -647,6 +647,9 @@ (define (zabbix-front-end-config config)
// 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 = '';