[checkmk-commits] Check_MK Git: check_mk: #1933 esx_vsphere_objects: now able to set a different alert level when the host/vm reports 'unknown '

Andreas Boesl ab at mathias-kettner.de
Tue Feb 3 10:52:55 CET 2015


Module: check_mk
Branch: master
Commit: 3a49369fc6b6d7e72eb8268ba55b35193684a14c
URL:    http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=3a49369fc6b6d7e72eb8268ba55b35193684a14c

Author: Andreas Boesl <ab at mathias-kettner.de>
Date:   Tue Feb  3 10:52:24 2015 +0100

#1933 esx_vsphere_objects: now able to set a different alert level when the host/vm reports 'unknown'

The unknown level can be configured via the WATO rule <i>State of ESX hosts and virtual machines</i>

---

 .werks/1933                          |   11 +++++++++++
 ChangeLog                            |    1 +
 web/plugins/wato/check_parameters.py |    7 +++++++
 3 files changed, 19 insertions(+)

diff --git a/.werks/1933 b/.werks/1933
new file mode 100644
index 0000000..188ce7c
--- /dev/null
+++ b/.werks/1933
@@ -0,0 +1,11 @@
+Title: esx_vsphere_objects: now able to set a different alert level when the host/vm reports 'unknown'
+Level: 1
+Component: checks
+Class: feature
+Compatible: compat
+State: unknown
+Version: 1.2.7i1
+Date: 1422957021
+
+The unknown level can be configured via the WATO rule <i>State of ESX hosts and virtual machines</i>
+
diff --git a/ChangeLog b/ChangeLog
index 49129db..d413469 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -70,6 +70,7 @@
     * 1968 qlogic_fcport, qlogic_sanbox, qlogic_sanbox_fabric_element: Supporting SAN Switch Module for IBM BladeCenter(R) now
     * 1220 if,if64: Discovery can now be based on port description...
     * 1930 Windows agent: now able to unpack plugins.cap file (created by Check_MK agent bakery)...
+    * 1933 esx_vsphere_objects: now able to set a different alert level when the host/vm reports 'unknown'...
     * 1457 FIX: logins: new check renamed from "users" check...
             NOTE: Please refer to the migration notes!
     * 1762 FIX: lnx_thermal: Now ignoring trip points with level 0...
diff --git a/web/plugins/wato/check_parameters.py b/web/plugins/wato/check_parameters.py
index 59a564f..04c5eeb 100644
--- a/web/plugins/wato/check_parameters.py
+++ b/web/plugins/wato/check_parameters.py
@@ -3216,6 +3216,13 @@ register_check_parameters(
                            default_value = 1,
                        )
                     ),
+                    ( "unknown",
+                       MonitoringState(
+                           title = _("Unknown"),
+                           help = _("Check result if the host or VM state is reported as <i>unknown</i>"),
+                           default_value = 3,
+                       )
+                    ),
                  ]
               )
            ),



More information about the checkmk-commits mailing list