summaryrefslogtreecommitdiffstats
path: root/debian/patches/postgres-checkcommand.patch
diff options
context:
space:
mode:
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" = {