From aeaa77125abdb9682fa4e675bf7f100f60c8b2b9 Mon Sep 17 00:00:00 2001 From: Malte Rabenseifner Date: Mon, 29 Jun 2015 08:19:54 +0200 Subject: [PATCH] Use PluginContribDir in itl/plugins-contrib.d/* fixes #9513 --- itl/plugins-contrib.d/databases.conf | 12 ++++++------ itl/plugins-contrib.d/network-components.conf | 2 +- itl/plugins-contrib.d/operating-system.conf | 1 - itl/plugins-contrib.d/web.conf | 2 +- 4 files changed, 8 insertions(+), 9 deletions(-) diff --git a/itl/plugins-contrib.d/databases.conf b/itl/plugins-contrib.d/databases.conf index 09ffe0f44..b224d2ed2 100644 --- a/itl/plugins-contrib.d/databases.conf +++ b/itl/plugins-contrib.d/databases.conf @@ -20,7 +20,7 @@ object CheckCommand "mssql_health" { import "plugin-check-command" - command = [ PluginDir + "/check_mssql_health" ] + command = [ PluginContribDir + "/check_mssql_health" ] arguments = { "--hostname" = { @@ -94,7 +94,7 @@ object CheckCommand "mysql_health" { import "plugin-check-command" import "ipv4-or-ipv6" - command = [ PluginDir + "/check_mysql_health" ] + command = [ PluginContribDir + "/check_mysql_health" ] arguments = { "--hostname" = { @@ -157,7 +157,7 @@ object CheckCommand "mysql_health" { object CheckCommand "oracle_health" { import "plugin-check-command" - command = [ PluginDir + "/check_oracle_health" ] + command = [ PluginContribDir + "/check_oracle_health" ] arguments = { "--connect" = { @@ -232,7 +232,7 @@ object CheckCommand "postgres" { import "plugin-check-command" import "ipv4-or-ipv6" - command = [ PluginDir + "/check_postgres.pl" ] + command = [ PluginContribDir + "/check_postgres.pl" ] arguments = { "-H" = { @@ -307,7 +307,7 @@ object CheckCommand "postgres" { object CheckCommand "mongodb" { import "plugin-check-command" - command = [ PluginDir + "/check_mongodb.py" ] + command = [ PluginContribDir + "/check_mongodb.py" ] arguments = { "-H" = { @@ -387,7 +387,7 @@ object CheckCommand "mongodb" { object CheckCommand "elasticsearch" { import "plugin-check-command" - command = [ PluginDir + "/check_elasticsearch" ] + command = [ PluginContribDir + "/check_elasticsearch" ] arguments = { "--failure-domain" = { diff --git a/itl/plugins-contrib.d/network-components.conf b/itl/plugins-contrib.d/network-components.conf index 1c243abe9..1d7268942 100644 --- a/itl/plugins-contrib.d/network-components.conf +++ b/itl/plugins-contrib.d/network-components.conf @@ -296,7 +296,7 @@ object CheckCommand "iftraffic" { import "plugin-check-command" import "ipv4-or-ipv6" - command = [ PluginDir + "/check_iftraffic64.pl"] + command = [ PluginContribDir + "/check_iftraffic64.pl"] arguments = { "-H" = { diff --git a/itl/plugins-contrib.d/operating-system.conf b/itl/plugins-contrib.d/operating-system.conf index b51dcef24..b9bec8294 100644 --- a/itl/plugins-contrib.d/operating-system.conf +++ b/itl/plugins-contrib.d/operating-system.conf @@ -49,4 +49,3 @@ object CheckCommand "mem" { vars.mem_free = false vars.mem_cache = false } - diff --git a/itl/plugins-contrib.d/web.conf b/itl/plugins-contrib.d/web.conf index ef6074d79..82f88c64d 100644 --- a/itl/plugins-contrib.d/web.conf +++ b/itl/plugins-contrib.d/web.conf @@ -20,7 +20,7 @@ object CheckCommand "webinject" { import "plugin-check-command" - command = [ PluginDir + "/check_webinject" ] + command = [ PluginContribDir + "/check_webinject" ] arguments = { "-c" = { -- 2.40.0