]> granicus.if.org Git - icinga2/commitdiff
ITL: Correct arguments for ipmi-sensor CheckCommand 5543/head
authorTobias von der Krone <tobias.vonderkrone@profitbricks.com>
Fri, 1 Sep 2017 12:19:07 +0000 (14:19 +0200)
committerTobias von der Krone <tobias.vonderkrone@profitbricks.com>
Fri, 1 Sep 2017 12:19:07 +0000 (14:19 +0200)
Replace the wrong "set_if" attribute and assign the value correctly.

fixes #5542

itl/plugins-contrib.d/ipmi.conf

index 9053a5619b076d99dbb65e9a4600f24d7a6fc229..0474caba0e9af5df5d680f3f4688e29f67f85c4d 100644 (file)
@@ -52,7 +52,7 @@ object CheckCommand "ipmi-sensor" {
                        description = "Limit sensors to query based on IPMI sensor type (seperated by comma)"
                }
                "-ST" = {
-                       set_if = "$ipmi_sel_type$"
+                       value = "$ipmi_sel_type$"
                        description = "Limit SEL entries to specific types. (seperated by comma)"
                }
                "-x" = {
@@ -60,11 +60,11 @@ object CheckCommand "ipmi-sensor" {
                        description = "Exclude sensor matching ipmi_sensor_id"
                }
                "-xT" = {
-                       set_if = "$ipmi_exclude_sensor$"
+                       value = "$ipmi_exclude_sensor$"
                        description = "Exclude sensors based on IPMI sensor type. (seperated by comma)"
                }
                "-xST" = {
-                       set_if = "$ipmi_exclude_sel$"
+                       value = "$ipmi_exclude_sel$"
                        description = "Exclude SEL entries of specific sensor types. (seperated by comma)"
                }
                "-i" = {