From: Michael Friedrich Date: Mon, 7 Dec 2015 09:22:22 +0000 (+0100) Subject: Fix that the hpasm CheckCommand is using the PluginDir constant X-Git-Tag: v2.4.2~156 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=9630f15d2fbfc195e9f81901cfd64fdfa071ecae;p=icinga2 Fix that the hpasm CheckCommand is using the PluginDir constant fixes #10780 --- diff --git a/itl/plugins-contrib.d/hardware.conf b/itl/plugins-contrib.d/hardware.conf index ab439bbc3..fccb2db6b 100644 --- a/itl/plugins-contrib.d/hardware.conf +++ b/itl/plugins-contrib.d/hardware.conf @@ -2,7 +2,7 @@ object CheckCommand "hpasm" { import "plugin-check-command" import "ipv4-or-ipv6" - command = [ PluginDir + "/check_hpasm" ] + command = [ PluginContribDir + "/check_hpasm" ] arguments = { "--hostname" = { @@ -54,7 +54,7 @@ object CheckCommand "hpasm" { value = "$hpasm_authpassword$" description = "The authentication password for SNMPv3" } - "--authprotocol" = { + "--authprotocol" = { value = "$hpasm_authprotocol$" description = "The authentication protocol for SNMPv3 (md5|sha)" }