diff options
author | Marius Bakke <marius@gnu.org> | 2022-01-28 11:14:57 +0100 |
---|---|---|
committer | Marius Bakke <marius@gnu.org> | 2022-01-29 12:52:37 +0100 |
commit | 0d347fe83eabc0786590fe0a60646c5824bfad2b (patch) | |
tree | dc6cf9d40dae190c8cc62a5e8b7c2bd4d7a1c532 /gnu | |
parent | 7971f88e834d120958b4d43e59c79a28d43d8f47 (diff) | |
download | guix-0d347fe83eabc0786590fe0a60646c5824bfad2b.tar guix-0d347fe83eabc0786590fe0a60646c5824bfad2b.tar.gz |
gnu: zabbix-server: Use a sensible default for the "fping" executable.
* gnu/packages/monitoring.scm (zabbix-agentd)[source](modules, snippet): New
fields.
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/monitoring.scm | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/gnu/packages/monitoring.scm b/gnu/packages/monitoring.scm index 008fccf893..d9f84e87e4 100644 --- a/gnu/packages/monitoring.scm +++ b/gnu/packages/monitoring.scm @@ -172,7 +172,14 @@ etc. via a Web interface. Features include: "https://cdn.zabbix.com/zabbix/sources/stable/" (version-major+minor version) "/zabbix-" version ".tar.gz")) (sha256 - (base32 "100n1rv7r4pqagxxifzpcza5bhrr2fklzx7gndxwiyq4597p1jvn")))) + (base32 "100n1rv7r4pqagxxifzpcza5bhrr2fklzx7gndxwiyq4597p1jvn")) + (modules '((guix build utils))) + (snippet + '(substitute* '("src/zabbix_proxy/proxy.c" + "src/zabbix_server/server.c") + ;; 'fping' must be setuid, so look for it in the usual location. + (("/usr/sbin/fping[[:digit:]]?") + "/run/setuid-programs/fping"))))) (build-system gnu-build-system) (arguments `(#:configure-flags |