From 3633a7cd79a684f862e5b78307a48e7edf225b91 Mon Sep 17 00:00:00 2001 From: Thomas Widhalm Date: Fri, 11 Jan 2019 13:50:07 +0100 Subject: [PATCH] Add new "-us" option to `ipmi-sensor` CheckCommand due to change in monitoring plugin. Fixes #6892 --- doc/10-icinga-template-library.md | 1 + itl/plugins-contrib.d/ipmi.conf | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/doc/10-icinga-template-library.md b/doc/10-icinga-template-library.md index 4b7f13acc..b03de5e57 100644 --- a/doc/10-icinga-template-library.md +++ b/doc/10-icinga-template-library.md @@ -2752,6 +2752,7 @@ ipmi_no_sel_checking | **Optional.** Turn off system event log check 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. +ipmi_unify_file | **Optional.** Path to the unify file to unify sensor names. #### ipmi-alive diff --git a/itl/plugins-contrib.d/ipmi.conf b/itl/plugins-contrib.d/ipmi.conf index f5eb18ae0..b290fe50d 100644 --- a/itl/plugins-contrib.d/ipmi.conf +++ b/itl/plugins-contrib.d/ipmi.conf @@ -103,6 +103,10 @@ object CheckCommand "ipmi-sensor" { set_if = "$ipmi_debug$" description = "Be Verbose debugging output, followed by normal multi line output" } + "-us" = { + value = "$ipmi_unify_file$" + description = "Path to the unify file to unify sensor names." + } } vars.ipmi_address = "$check_address$"