aports/community/zabbix-agent2-plugin-postgresql/0001-set-plugin-system-path.patch

26 lines
679 B
Diff

From 99bb93f055c0fdc4a4d721548c852bdbf7d79e6f Mon Sep 17 00:00:00 2001
From: Leonardo Arena <rnalrd@alpinelinux.org>
Date: Thu, 22 Feb 2024 15:05:08 +0000
Subject: [PATCH] set plugin system path
---
postgresql.conf | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/postgresql.conf b/postgresql.conf
index 74cc86f..238c416 100644
--- a/postgresql.conf
+++ b/postgresql.conf
@@ -3,7 +3,7 @@
#
# Mandatory: yes
# Default:
-# Plugins.PostgreSQL.System.Path=
+Plugins.PostgreSQL.System.Path=/usr/libexec/zabbix-agent2/postgresql
### Option: Plugins.PostgreSQL.CallTimeout
# The maximum time in seconds for waiting when a request has to be done.
--
2.43.1