summaryrefslogtreecommitdiff
path: root/gnu/services/monitoring.scm
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2018-12-20 00:04:50 +0100
committerLudovic Courtès <ludo@gnu.org>2018-12-20 00:04:50 +0100
commit9012d226fa46229a84e49a42c9b6d287105dfddf (patch)
tree8a6d3e6d62619b2914f5cde20e8ea5c281a3f56b /gnu/services/monitoring.scm
parent40cc850aebb497faed0a11d867d8fcee729023df (diff)
services: zabbix-front-end: Tweak error and hint messages.
* gnu/services/monitoring.scm (zabbix-front-end-config): Adjust error and hint mssages.
Diffstat (limited to 'gnu/services/monitoring.scm')
-rw-r--r--gnu/services/monitoring.scm9
1 files changed, 4 insertions, 5 deletions
diff --git a/gnu/services/monitoring.scm b/gnu/services/monitoring.scm
index 4c7a717a9de..685641f1104 100644
--- a/gnu/services/monitoring.scm
+++ b/gnu/services/monitoring.scm
@@ -530,15 +530,14 @@ $DB['PASSWORD'] = '" (if (string-null? db-password)
530 (raise (condition 530 (raise (condition
531 (&message 531 (&message
532 (message "\ 532 (message "\
533You must provide either 'db-secret-file' or 'db-password'.")))) 533you must provide either 'db-secret-file' or 'db-password'"))))
534 (string-trim-both 534 (string-trim-both
535 (with-input-from-file db-secret-file 535 (with-input-from-file db-secret-file
536 read-string))) 536 read-string)))
537 (begin 537 (begin
538 (display-hint " 538 (display-hint "\
539Consider use `db-secret-file' instead of `db-password' and unset 539Consider using @code{db-secret-file} instead of @code{db-password} and unset
540`db-password' for security in `zabbix-front-end-configuration'. 540@code{db-password} for security in @code{zabbix-front-end-configuration}.")
541")
542 db-password)) "'; 541 db-password)) "';
543 542
544// Schema name. Used for IBM DB2 and PostgreSQL. 543// Schema name. Used for IBM DB2 and PostgreSQL.