]> granicus.if.org Git - icinga2/commitdiff
Allow to disable thresholds for ipmi CheckCommand 5647/head
authorKonstantin Kelemen <konstantin@kel.mn>
Thu, 5 Oct 2017 07:28:27 +0000 (10:28 +0300)
committerMichael Friedrich <michael.friedrich@icinga.com>
Fri, 13 Oct 2017 12:03:39 +0000 (14:03 +0200)
fixes #5579

Signed-off-by: Michael Friedrich <michael.friedrich@icinga.com>
doc/10-icinga-template-library.md
itl/plugins-contrib.d/ipmi.conf

index f8b6d5223ea39b49dd9adf079e8bc23b5c6f02d9..4729ee65933a634cee3e259b561ae02f8bfea201 100644 (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_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_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_debug                       | **Optional.** Be Verbose debugging output, followed by normal multi line output.
 
index 0474caba0e9af5df5d680f3f4688e29f67f85c4d..4a00e4da5a7d70c7467397ce4425459ad5578667 100644 (file)
@@ -75,6 +75,10 @@ object CheckCommand "ipmi-sensor" {
                        set_if = "$ipmi_no_sel_checking$"
                        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" = {
                        value = "$ipmi_protocol_lan_version$"
                        description = "Change the protocol LAN version (default: LAN_2_0)"