]> granicus.if.org Git - icinga2/commitdiff
Fix that the hpasm CheckCommand is using the PluginDir constant
authorMichael Friedrich <michael.friedrich@netways.de>
Mon, 7 Dec 2015 09:22:22 +0000 (10:22 +0100)
committerMichael Friedrich <michael.friedrich@netways.de>
Tue, 8 Dec 2015 14:43:58 +0000 (15:43 +0100)
fixes #10780

itl/plugins-contrib.d/hardware.conf

index ab439bbc3095cfc4de019c450c75bc59e2c16dac..fccb2db6bd33a53530e12500b9fc4ba5d5b02c2a 100644 (file)
@@ -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)"
                }