Fix that the hpasm CheckCommand is using the PluginDir constant

fixes #10780
This commit is contained in:
Michael Friedrich 2015-12-07 10:22:22 +01:00
parent c7c3cceba8
commit 48fbb89f06

View File

@ -2,7 +2,7 @@ object CheckCommand "hpasm" {
import "plugin-check-command" import "plugin-check-command"
import "ipv4-or-ipv6" import "ipv4-or-ipv6"
command = [ PluginDir + "/check_hpasm" ] command = [ PluginContribDir + "/check_hpasm" ]
arguments = { arguments = {
"--hostname" = { "--hostname" = {
@ -54,7 +54,7 @@ object CheckCommand "hpasm" {
value = "$hpasm_authpassword$" value = "$hpasm_authpassword$"
description = "The authentication password for SNMPv3" description = "The authentication password for SNMPv3"
} }
"--authprotocol" = { "--authprotocol" = {
value = "$hpasm_authprotocol$" value = "$hpasm_authprotocol$"
description = "The authentication protocol for SNMPv3 (md5|sha)" description = "The authentication protocol for SNMPv3 (md5|sha)"
} }