ITL: Correct arguments for ipmi-sensor CheckCommand

Replace the wrong "set_if" attribute and assign the value correctly.

fixes #5542
This commit is contained in:
Tobias von der Krone 2017-09-01 14:19:07 +02:00
parent acea264b70
commit e84fbf3a97
1 changed files with 3 additions and 3 deletions

View File

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