[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
02/02: hydra: berlin: Add zabbix monitoring and postgres database servic
From: |
Ricardo Wurmus |
Subject: |
02/02: hydra: berlin: Add zabbix monitoring and postgres database services. |
Date: |
Sat, 29 Dec 2018 03:33:48 -0500 (EST) |
rekado pushed a commit to branch master
in repository maintenance.
commit cbc7944fa11ac087e7b74320bfea27be333794c5
Author: Ricardo Wurmus <address@hidden>
Date: Sat Dec 29 09:31:19 2018 +0100
hydra: berlin: Add zabbix monitoring and postgres database services.
* hydra/berlin.scm <services>: Add services for zabbix-server,
zabbix-front-end, and postgresql.
---
hydra/berlin.scm | 15 ++++++++++++++-
1 file changed, 14 insertions(+), 1 deletion(-)
diff --git a/hydra/berlin.scm b/hydra/berlin.scm
index cac063b..4171632 100644
--- a/hydra/berlin.scm
+++ b/hydra/berlin.scm
@@ -2,7 +2,7 @@
;; hosted at the MDC.
(use-modules (gnu) (guix) (sysadmin services) (sysadmin people))
-(use-service-modules base networking admin shepherd)
+(use-service-modules base databases monitoring networking admin shepherd)
(use-package-modules admin certs emacs linux ssh tls vim package-management
web wget ci rsync)
@@ -160,6 +160,19 @@ Happy hacking!\n"))
(tty "ttyS0")
(baud-rate "115200")))
+ ;; Monitoring
+ (service zabbix-server-service-type
+ (zabbix-server-configuration
+ (include-files '("/root/zabbix-pass"))))
+ (service zabbix-front-end-service-type
+ (zabbix-front-end-configuration
+ (db-secret-file "/root/zabbix-front-end-secrets")))
+
+ ;; For the Zabbix database. It was created by manually
+ ;; following the instructions here:
+ ;;
https://www.zabbix.com/documentation/3.0/manual/appendix/install/db_scripts
+ (postgresql-service)
+
(ntp-service)
;; Make SSH and HTTP/HTTPS available over Tor.