[checkmk-commits] Check_MK Git: check_mk: Renamed inventorized into discovered

Mathias Kettner mk at mathias-kettner.de
Fri Feb 20 13:52:45 CET 2015


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

Author: Mathias Kettner <mk at mathias-kettner.de>
Date:   Fri Feb 20 13:52:36 2015 +0100

Renamed inventorized into discovered

---

 web/htdocs/wato.py                   |    8 ++++----
 web/plugins/wato/check_parameters.py |    6 +++---
 2 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/web/htdocs/wato.py b/web/htdocs/wato.py
index ad6cabf..34a61b6 100644
--- a/web/htdocs/wato.py
+++ b/web/htdocs/wato.py
@@ -2569,7 +2569,7 @@ def mode_object_parameters(phase):
             }[origin]
             render_rule_reason(_("Type of check"), None, "", "", False, origin_txt)
 
-            # First case: inventorized checks. They come from var/check_mk/autochecks/HOST.
+            # First case: discovered checks. They come from var/check_mk/autochecks/HOST.
             if origin ==  "auto":
                 checkgroup = serviceinfo["checkgroup"]
                 checktype = serviceinfo["checktype"]
@@ -2585,8 +2585,8 @@ def mode_object_parameters(phase):
                                             serviceinfo["item"], serviceinfo["parameters"])
 
                 else:
-                    # Note: some inventorized checks have a check group but
-                    # *no* ruleset for inventorized checks. One example is "ps".
+                    # Note: some discovered checks have a check group but
+                    # *no* ruleset for discovered checks. One example is "ps".
                     # That can be configured as a manual check or created by
                     # inventory. But in the later case all parameters are set
                     # by the inventory. This will be changed in a later version,
@@ -15318,7 +15318,7 @@ def register_rule(group, varname, valuespec = None, title = None,
 # modular here, but we cannot put this function into the plugins file because
 # the order is not defined there.
 def register_check_parameters(subgroup, checkgroup, title, valuespec, itemspec, matchtype, has_inventory=True, register_static_check=True):
-    # Register rule for inventorized checks
+    # Register rule for discovered checks
     if valuespec and has_inventory: # would be useless rule if check has no parameters
         itemenum = None
         if itemspec:
diff --git a/web/plugins/wato/check_parameters.py b/web/plugins/wato/check_parameters.py
index e61bf9b..1743551 100644
--- a/web/plugins/wato/check_parameters.py
+++ b/web/plugins/wato/check_parameters.py
@@ -26,7 +26,7 @@
 
 # Rules for configuring parameters of checks (services)
 
-register_rulegroup("checkparams", _("Parameters for Inventorized Checks"),
+register_rulegroup("checkparams", _("Parameters for discovered checks"),
     _("Levels and other parameters for checks found by the Check_MK service discovery.\n"
       "Use these rules in order to define parameters like filesystem levels, "
       "levels for CPU load and other things for services that have been found "
@@ -5460,11 +5460,11 @@ register_check_parameters(
         help = _("State the disk is expected to be in. Typical good states "
             "are online, host spare, OK and the like. The exact way of how "
             "to specify a state depends on the check and hard type being used. "
-            "Please take examples from inventorized checks for reference.")),
+            "Please take examples from discovered checks for reference.")),
     TextAscii(
         title = _("Number or ID of the disk"),
         help = _("How the disks are named depends on the type of hardware being "
-                 "used. Please look at already inventorized checks for examples.")),
+                 "used. Please look at already discovered checks for examples.")),
     "first"
 )
 



More information about the checkmk-commits mailing list