Merge pull request #5647 from konstantin-kelemen/fix/itl-ipmi-sensor-missing-argument-5579

Allow to disable thresholds for ipmi CheckCommand
This commit is contained in:
Michael Friedrich 2017-10-13 14:05:31 +02:00 committed by GitHub
commit 005b2c4f9c
2 changed files with 5 additions and 0 deletions

View File

@ -2531,6 +2531,7 @@ ipmi_protocol_lan_version | **Optional.** Change the protocol LAN version
ipmi_number_of_active_fans | **Optional.** Number of fans that should be active. Otherwise a WARNING state is returned. ipmi_number_of_active_fans | **Optional.** Number of fans that should be active. Otherwise a WARNING state is returned.
ipmi_show_fru | **Optional.** Print the product serial number if it is available in the IPMI FRU data. ipmi_show_fru | **Optional.** Print the product serial number if it is available in the IPMI FRU data.
ipmi_no_sel_checking | **Optional.** Turn off system event log checking via ipmi-sel. ipmi_no_sel_checking | **Optional.** Turn off system event log checking via ipmi-sel.
ipmi_no_thresholds | **Optional.** Turn off performance data thresholds from output-sensor-thresholds.
ipmi_verbose | **Optional.** Be Verbose multi line output, also with additional details for warnings. ipmi_verbose | **Optional.** Be Verbose multi line output, also with additional details for warnings.
ipmi_debug | **Optional.** Be Verbose debugging output, followed by normal multi line output. ipmi_debug | **Optional.** Be Verbose debugging output, followed by normal multi line output.

View File

@ -75,6 +75,10 @@ object CheckCommand "ipmi-sensor" {
set_if = "$ipmi_no_sel_checking$" set_if = "$ipmi_no_sel_checking$"
description = "Turn off system event log checking via ipmi-sel" description = "Turn off system event log checking via ipmi-sel"
} }
"--nothresholds" = {
set_if = "$ipmi_no_thresholds$"
description = "Turn off performance data thresholds from output-sensor-thresholds"
}
"-D" = { "-D" = {
value = "$ipmi_protocol_lan_version$" value = "$ipmi_protocol_lan_version$"
description = "Change the protocol LAN version (default: LAN_2_0)" description = "Change the protocol LAN version (default: LAN_2_0)"