aports/community/zabbix-agent2-plugin-postgresql/0001-set-plugin-system-path.patch
Leonardo Arena 82c09a10de community/zabbix-agent2-plugin-postgresql: new aport
Since Zabbix Agent 2 v6.0.10 the PostgreSQL plugin is no longer built-in.
This breaks any Alpine-stable Zabbix 6.0.x installation that rely on this plugin.
Hence this is the reason for this backport.

https://www.zabbix.com/documentation/6.0/en/manual/introduction/whatsnew6010#postgresql-plugin-loadable
2024-02-22 16:05:59 +00:00

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