Added new options for ipmi-sensor to ITL

Regarding my PR at https://github.com/thomas-krenn/check_ipmi_sensor_v3/pull/42
I want to add the new options to the Icinga ITL.
This commit is contained in:
MarcusCaepio 2020-11-23 13:50:37 +01:00
parent 2d1980c10d
commit e5c04c35b4
2 changed files with 10 additions and 0 deletions

View File

@ -2906,6 +2906,8 @@ ipmi_sensor_id | **Optional.** Include sensor matching ipmi_se
ipmi_protocol_lan_version | **Optional.** Change the protocol LAN version. Defaults to "LAN_2_0".
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_assettag | **Optional.** Print the assettag if it is available in the IPMI FRU data. (--fru is mandatory)
ipmi_show_board | **Optional.** Print additional motherboard informations if it is available in the IPMI FRU data. (--fru is mandatory)
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.

View File

@ -74,6 +74,14 @@ object CheckCommand "ipmi-sensor" {
set_if = "$ipmi_show_fru$"
description = "Print the product serial number got by ipmi-fru"
}
"--assettag" = {
set_if = "$ipmi_show_assettag$"
description = "Print the assettag if it is available in the IPMI FRU data. (--fru is mandatory)"
}
"--board" = {
set_if = "$ipmi_show_board$"
description = "Print additional motherboard information if it is available in the IPMI FRU data. (--fru is mandatory)"
}
"--noentityabsent" = {
set_if = "$ipmi_noentityabsent$"
description = "Skip sensor checks for sensors that have 'noentityabsent' as event state"