2
0
Fork 0
mirror of git://git.savannah.gnu.org/guix/maintenance.git synced 2023-12-14 03:33:04 +01:00

hydra: Add a zabbix local server.

* hydra/nginx/berlin.scm (%zabbix-nginx-local-server): New variable.
* hydra/berlin.scm: Use it.
This commit is contained in:
Mathieu Othacehe 2021-02-07 11:09:52 +01:00
parent 174d1aa41a
commit e4acb8c8eb
No known key found for this signature in database
GPG key ID: 8354763531769CA6
2 changed files with 7 additions and 1 deletions

View file

@ -310,7 +310,8 @@ Happy hacking!\n"))
(extra-options "AlertScriptsPath=/root/zabbix-alert-scripts\n")))
(service zabbix-front-end-service-type
(zabbix-front-end-configuration
(nginx (list %zabbix-nginx-server))
(nginx (list %zabbix-nginx-server
%zabbix-nginx-local-server))
(db-secret-file "/root/zabbix-front-end-secrets")))
;; For the Zabbix database. It was created by manually

View file

@ -1102,3 +1102,8 @@ PUBLISH-URL."
fastcgi_param PHP_VALUE \"post_max_size = 16M
max_execution_time = 300\";
"))))))))))
(define %zabbix-nginx-local-server
(nginx-server-configuration
(inherit %zabbix-front-end-configuration-nginx)
(listen '("127.0.0.1:15412"))))