guix-commits
[Top][All Lists]
Advanced

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

branch master updated: hydra: Add a zabbix local server.


From: Mathieu Othacehe
Subject: branch master updated: hydra: Add a zabbix local server.
Date: Sun, 07 Feb 2021 05:11:55 -0500

This is an automated email from the git hooks/post-receive script.

mothacehe pushed a commit to branch master
in repository maintenance.

The following commit(s) were added to refs/heads/master by this push:
     new e4acb8c  hydra: Add a zabbix local server.
e4acb8c is described below

commit e4acb8c8eb34d6dc01cb1f6a9e961b6e0c036453
Author: Mathieu Othacehe <othacehe@gnu.org>
AuthorDate: Sun Feb 7 11:09:52 2021 +0100

    hydra: Add a zabbix local server.
    
    * hydra/nginx/berlin.scm (%zabbix-nginx-local-server): New variable.
    * hydra/berlin.scm: Use it.
---
 hydra/berlin.scm       | 3 ++-
 hydra/nginx/berlin.scm | 5 +++++
 2 files changed, 7 insertions(+), 1 deletion(-)

diff --git a/hydra/berlin.scm b/hydra/berlin.scm
index 48dc565..74b38e5 100644
--- a/hydra/berlin.scm
+++ b/hydra/berlin.scm
@@ -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
diff --git a/hydra/nginx/berlin.scm b/hydra/nginx/berlin.scm
index ee53868..0032ac4 100644
--- a/hydra/nginx/berlin.scm
+++ b/hydra/nginx/berlin.scm
@@ -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"))))



reply via email to

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