summaryrefslogtreecommitdiffstats
path: root/debian/patches/postgres-checkcommand.patch
blob: f10a9fffa8de9a305d2ce978994393385f763913 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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" = {