Use PluginContribDir in itl/plugins-contrib.d/*

fixes #9513
This commit is contained in:
Malte Rabenseifner 2015-06-29 08:19:54 +02:00 committed by Michael Friedrich
parent 1eb5c8d9f3
commit aeaa77125a
4 changed files with 8 additions and 9 deletions

View File

@ -20,7 +20,7 @@
object CheckCommand "mssql_health" { object CheckCommand "mssql_health" {
import "plugin-check-command" import "plugin-check-command"
command = [ PluginDir + "/check_mssql_health" ] command = [ PluginContribDir + "/check_mssql_health" ]
arguments = { arguments = {
"--hostname" = { "--hostname" = {
@ -94,7 +94,7 @@ object CheckCommand "mysql_health" {
import "plugin-check-command" import "plugin-check-command"
import "ipv4-or-ipv6" import "ipv4-or-ipv6"
command = [ PluginDir + "/check_mysql_health" ] command = [ PluginContribDir + "/check_mysql_health" ]
arguments = { arguments = {
"--hostname" = { "--hostname" = {
@ -157,7 +157,7 @@ object CheckCommand "mysql_health" {
object CheckCommand "oracle_health" { object CheckCommand "oracle_health" {
import "plugin-check-command" import "plugin-check-command"
command = [ PluginDir + "/check_oracle_health" ] command = [ PluginContribDir + "/check_oracle_health" ]
arguments = { arguments = {
"--connect" = { "--connect" = {
@ -232,7 +232,7 @@ object CheckCommand "postgres" {
import "plugin-check-command" import "plugin-check-command"
import "ipv4-or-ipv6" import "ipv4-or-ipv6"
command = [ PluginDir + "/check_postgres.pl" ] command = [ PluginContribDir + "/check_postgres.pl" ]
arguments = { arguments = {
"-H" = { "-H" = {
@ -307,7 +307,7 @@ object CheckCommand "postgres" {
object CheckCommand "mongodb" { object CheckCommand "mongodb" {
import "plugin-check-command" import "plugin-check-command"
command = [ PluginDir + "/check_mongodb.py" ] command = [ PluginContribDir + "/check_mongodb.py" ]
arguments = { arguments = {
"-H" = { "-H" = {
@ -387,7 +387,7 @@ object CheckCommand "mongodb" {
object CheckCommand "elasticsearch" { object CheckCommand "elasticsearch" {
import "plugin-check-command" import "plugin-check-command"
command = [ PluginDir + "/check_elasticsearch" ] command = [ PluginContribDir + "/check_elasticsearch" ]
arguments = { arguments = {
"--failure-domain" = { "--failure-domain" = {

View File

@ -296,7 +296,7 @@ object CheckCommand "iftraffic" {
import "plugin-check-command" import "plugin-check-command"
import "ipv4-or-ipv6" import "ipv4-or-ipv6"
command = [ PluginDir + "/check_iftraffic64.pl"] command = [ PluginContribDir + "/check_iftraffic64.pl"]
arguments = { arguments = {
"-H" = { "-H" = {

View File

@ -49,4 +49,3 @@ object CheckCommand "mem" {
vars.mem_free = false vars.mem_free = false
vars.mem_cache = false vars.mem_cache = false
} }

View File

@ -20,7 +20,7 @@
object CheckCommand "webinject" { object CheckCommand "webinject" {
import "plugin-check-command" import "plugin-check-command"
command = [ PluginDir + "/check_webinject" ] command = [ PluginContribDir + "/check_webinject" ]
arguments = { arguments = {
"-c" = { "-c" = {