summaryrefslogtreecommitdiffstats
path: root/debian/patches/postgres-checkcommand.patch
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-28 12:34:55 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-28 12:34:55 +0000
commit58306b0f7e29c41c00ab7bbd99d7686299f1de77 (patch)
treeb737b9d2d0a29c485e78c545d5434f13d923c91e /debian/patches/postgres-checkcommand.patch
parentAdding upstream version 2.13.6. (diff)
downloadicinga2-debian/2.13.6-2.tar.xz
icinga2-debian/2.13.6-2.zip
Adding debian version 2.13.6-2.debian/2.13.6-2
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/patches/postgres-checkcommand.patch')
-rw-r--r--debian/patches/postgres-checkcommand.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/debian/patches/postgres-checkcommand.patch b/debian/patches/postgres-checkcommand.patch
new file mode 100644
index 0000000..f10a9ff
--- /dev/null
+++ b/debian/patches/postgres-checkcommand.patch
@@ -0,0 +1,16 @@
+Description: Use check_postgres path as provided by check-postgres package.
+Author: Jens Holzkämper <jens@zbmath.org>
+Forwarded: not-needed
+Bug-Debian: https://bugs.debian.org/898833
+
+--- a/itl/plugins-contrib.d/databases.conf
++++ b/itl/plugins-contrib.d/databases.conf
+@@ -513,7 +513,7 @@ object CheckCommand "oracle_health" {
+ object CheckCommand "postgres" {
+ import "ipv4-or-ipv6"
+
+- command = [ PluginContribDir + "/check_postgres.pl" ]
++ command = [ "/usr/bin/check_postgres" ]
+
+ arguments = {
+ "-H" = {