provisioning levels in WATO are no longer limited to 101%
Message-ID: <5332c6e4.AWes1nnl/w16A0KQ%gg(a)mathias-kettner.de>
User-Agent: Heirloom mailx 12.4 7/29/08
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
Module: check_mk
Branch: master
Commit: 2ddbcc878ea588221fc2194cd9a3cdc8a841aa02
URL: http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=2ddbcc878ea588…
Author: Götz Golla <gg(a)mathias-kettner.de>
Date: Wed Mar 26 13:23:20 2014 +0100
FIX esx_vsphere_datastores: provisioning levels in WATO are no longer limited to 101%
---
.werks/599 | 8 ++++++++
ChangeLog | 3 ++-
web/plugins/wato/check_parameters.py | 4 ++--
3 files changed, 12 insertions(+), 3 deletions(-)
diff --git a/.werks/599 b/.werks/599
new file mode 100644
index 0000000..a3c52ea
--- /dev/null
+++ b/.werks/599
@@ -0,0 +1,8 @@
+Title: esx_vsphere_datastores: provisioning levels in WATO are no longer limited to 101%
+Level: 1
+Component: checks
+Version: 1.2.5i1
+Date: 1395836386
+Class: fix
+
+
diff --git a/ChangeLog b/ChangeLog
index 4306759..3ad33e4 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -125,10 +125,10 @@
* 0760 The windows agent contains meta information about version, manufacturer etc....
* 0145 apc_symmetra: Changed naming of Batterie Temperature to System Temerature...
NOTE: Please refer to the migration notes!
- * 0598 kentix_temp, kentix_humidity: new checks for Kentix MultiSensor-Rack
* 0735 mem.win: now able to configure swap file levels
* 0146 innovaphone_priports_l1, innovaphone_priports_l2: New Checks for Innovaphone PRI Ports
* 0707 ibm_svc_host: New check: Status of hosts an IBM SVC / V7000 presents volumes to
+ * 0598 kentix_temp, kentix_humidity: new checks for Kentix MultiSensor-Rack
* 0103 FIX: services: Fixed bug with service inventory defined in main.mk...
* 0299 FIX: borcade_mlx_fan: Prettified output, handling "other" state now
* 0300 FIX: cisco_fru_power: Trying not to inventorize not plugged in FRUs...
@@ -229,6 +229,7 @@
* 0142 FIX: winperf_if: treat unknown packets no longer as error packets
* 0593 FIX: zypper: agent plugin and check now lead to UNKNOWN result in case of repo problems
* 0758 FIX: check_sql: Fixed monitoring of stored procedures with oracle
+ * 0599 FIX: esx_vsphere_datastores: provisioning levels in WATO are no longer limited to 101%
Multisite:
* 0371 Added log class filter to hostsvcevents view
diff --git a/web/plugins/wato/check_parameters.py b/web/plugins/wato/check_parameters.py
index 36c71f7..bab13c6 100644
--- a/web/plugins/wato/check_parameters.py
+++ b/web/plugins/wato/check_parameters.py
@@ -1761,8 +1761,8 @@ register_check_parameters(
title = _("Provisioning Levels"),
help = _("Configure thresholds for overprovisioning of datastores."),
elements = [
- Percentage(title = _("Warning at overprovisioning of")),
- Percentage(title = _("Critical at overprovisioning of")),
+ Percentage(title = _("Warning at overprovisioning of"), maxvalue = None),
+ Percentage(title = _("Critical at overprovisioning of"), maxvalue = None),
]
)),
],
Module: check_mk
Branch: master
Commit: 47552b96915e80233a3705c0ee4821d16d87b6b6
URL: http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=47552b96915e80…
Author: Andreas Boesl <ab(a)mathias-kettner.de>
Date: Wed Mar 26 13:16:33 2014 +0100
werk 736: improved wording
---
.werks/736 | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/.werks/736 b/.werks/736
index 0937301..9b8c346 100644
--- a/.werks/736
+++ b/.werks/736
@@ -9,7 +9,7 @@ Additional validations are now undertaken when creating or restoring a backup fi
New procedures and features
<ul>
-<li>Stopping and re-staring the record of performance data while the restore is in progress</li>
-<li>Correct evaluation of exit codes and error messages from the backup commands</li>
-<li>New backup/restore hooks: <tt>pre_restore</tt>, <tt>post_restore</t>, <tt>backup_command</tt>, <tt>restore_command</tt></li>
+<li>Stopping and re-starting performance data recording while the restore is in progress</li>
+<li>Correct evaluation of exit codes and error messages from the backup/restore commands</li>
+<li>New backup/restore hooks: <tt>pre_restore</tt>, <tt>post_restore</tt>, <tt>backup_command</tt>, <tt>restore_command</tt></li>
</ul>
Module: check_mk
Branch: master
Commit: 4b464a2f4e958feeb04f9fba3f8afbbc9b4f6378
URL: http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=4b464a2f4e958f…
Author: Andreas Boesl <ab(a)mathias-kettner.de>
Date: Wed Mar 26 13:10:50 2014 +0100
FIX WATO backup and restore: improved error handling
Additional validations are now undertaken when creating or restoring a backup file.<br>
New procedures and features
<ul>
<li>Stopping and re-staring the record of performance data while the restore is in progress</li>
<li>Correct evaluation of exit codes and error messages from the backup commands</li>
<li>New backup/restore hooks: <tt>pre_restore</tt>, <tt>post_restore</t>, <tt>backup_command</tt>, <tt>restore_command</tt></li>
</ul>
---
.werks/736 | 15 ++++
ChangeLog | 3 +-
modules/automation.py | 68 ++++++++++++------
web/htdocs/multitar.py | 98 +++++++++++++++----------
web/htdocs/wato.py | 140 ++++++++++++++++++++----------------
web/plugins/wato/backup_domains.py | 55 +++++++++++---
6 files changed, 250 insertions(+), 129 deletions(-)
Diff: http://git.mathias-kettner.de/git/?p=check_mk.git;a=commitdiff;h=4b464a2f4e…
Module: check_mk
Branch: master
Commit: d90a866b403df2fedaf66967835c84e696413739
URL: http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=d90a866b403df2…
Author: Bernd Stroessenreuther <bs(a)mathias-kettner.de>
Date: Wed Mar 26 11:22:20 2014 +0100
Updated bug entries #1066
---
.bugs/1066 | 12 ++++++++++++
1 file changed, 12 insertions(+)
diff --git a/.bugs/1066 b/.bugs/1066
new file mode 100644
index 0000000..d2b88df
--- /dev/null
+++ b/.bugs/1066
@@ -0,0 +1,12 @@
+Title: cmk -m does not start if manpages without catalog: header
+Component: docu
+State: open
+Date: 2014-03-26 11:19:32
+Targetversion: 1.2.5i1
+Class: bug
+
+if you installed some mkp packages from the exchange or so and their
+check manpages do not contain a catalog: header then cmk -m
+does not start at all (failing)
+
+missing catalog: header must be caught
Module: check_mk
Branch: master
Commit: 91e992255494066528fc9b7176f23dc083795ccb
URL: http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=91e99225549406…
Author: Bernd Stroessenreuther <bs(a)mathias-kettner.de>
Date: Tue Mar 25 18:11:06 2014 +0100
ibm_svc_node: new check for status of IO Groups of IBM SVC / V7000 devices
---
.werks/771 | 8 +++++
ChangeLog | 1 +
checkman/ibm_svc_node | 18 +++++++++++
checks/ibm_svc_node | 79 +++++++++++++++++++++++++++++++++++++++++++++++++
4 files changed, 106 insertions(+)
diff --git a/.werks/771 b/.werks/771
new file mode 100644
index 0000000..419f531
--- /dev/null
+++ b/.werks/771
@@ -0,0 +1,8 @@
+Title: ibm_svc_node: new check for status of IO Groups of IBM SVC / V7000 devices
+Level: 1
+Component: checks
+Version: 1.2.5i1
+Date: 1395767425
+Class: feature
+
+
diff --git a/ChangeLog b/ChangeLog
index 3f2c08e..52da8d5 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -132,6 +132,7 @@
* 0768 ibm_svc_license: New check for Licensing Status on IBM SVC / V7000 devices
* 0769 ibm_svc_mdisk: new check for status and mode of MDisks in an IBM SVC / V7000 device
* 0770 ibm_svc_mdiskgrp: New check for status and usage of MDisksGrps in IBM SVC / V7000 devices
+ * 0771 ibm_svc_node: new check for status of IO Groups of IBM SVC / V7000 devices
* 0103 FIX: services: Fixed bug with service inventory defined in main.mk...
* 0299 FIX: borcade_mlx_fan: Prettified output, handling "other" state now
* 0300 FIX: cisco_fru_power: Trying not to inventorize not plugged in FRUs...
diff --git a/checkman/ibm_svc_node b/checkman/ibm_svc_node
new file mode 100644
index 0000000..83265fe
--- /dev/null
+++ b/checkman/ibm_svc_node
@@ -0,0 +1,18 @@
+title: IBM SVC / V7000: Status of IO Groups
+agents: ibm_svc
+catalog: hw/storagehw/ibm
+license: GPL
+distribution: check_mk
+description:
+ Checks the status of IO Groups of an IBM SVC / V7000 device.
+
+ If all nodes of an IO Group report status {online} the check returns
+ {OK}. If all nodes of an IO Group report some other status (e. g.
+ {offline}) the check returns {CRIT}. And in all other cases - that
+ means if at least one node is {online} - the check returns {WARN}.
+
+item:
+ The name of the IO Group.
+
+inventory:
+ Creates one check for every IO Group in an IBM SVC / V7000 device.
diff --git a/checks/ibm_svc_node b/checks/ibm_svc_node
new file mode 100644
index 0000000..31b4691
--- /dev/null
+++ b/checks/ibm_svc_node
@@ -0,0 +1,79 @@
+#!/usr/bin/python
+# -*- encoding: utf-8; py-indent-offset: 4 -*-
+# +------------------------------------------------------------------+
+# | ____ _ _ __ __ _ __ |
+# | / ___| |__ ___ ___| | __ | \/ | |/ / |
+# | | | | '_ \ / _ \/ __| |/ / | |\/| | ' / |
+# | | |___| | | | __/ (__| < | | | | . \ |
+# | \____|_| |_|\___|\___|_|\_\___|_| |_|_|\_\ |
+# | |
+# | Copyright Mathias Kettner 2013 mk(a)mathias-kettner.de |
+# +------------------------------------------------------------------+
+#
+# This file is part of Check_MK.
+# The official homepage is at http://mathias-kettner.de/check_mk.
+#
+# check_mk is free software; you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by
+# the Free Software Foundation in version 2. check_mk is distributed
+# in the hope that it will be useful, but WITHOUT ANY WARRANTY; with-
+# out even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+# PARTICULAR PURPOSE. See the GNU General Public License for more de-
+# ails. You should have received a copy of the GNU General Public
+# License along with GNU Make; see the file COPYING. If not, write
+# to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor,
+# Boston, MA 02110-1301 USA.
+
+# Example output from agent:
+# Put here the example output from your TCP-Based agent. If the
+# check is SNMP-Based, then remove this section
+
+def inventory_ibm_svc_node(info):
+ io_groups = {}
+ inventory = []
+ for node_id, node_name, ups_serial, wwnn, node_status, io_group_id, \
+ io_group_name, config_node, ups_unique_id, hardware, iscsi_name, \
+ iscsi_alias, panel_name, enclosure_id, canister_id, \
+ enclosure_serial_number, additional in info:
+ io_groups[io_group_name] = 1
+ for io_group_name in io_groups.keys():
+ inventory.append( (io_group_name, None) )
+ return inventory
+
+def check_ibm_svc_node(item, _no_params, info):
+ message = ""
+ status = 0
+ online_nodes = 0
+ nodes_of_iogroup = 0
+
+ for node_id, node_name, ups_serial, wwnn, node_status, io_group_id, \
+ io_group_name, config_node, ups_unique_id, hardware, iscsi_name, \
+ iscsi_alias, panel_name, enclosure_id, canister_id, \
+ enclosure_serial_number, additional in info:
+ if io_group_name == item:
+ if message != "":
+ message += ", "
+ message += "Node %s is %s" % (node_name, node_status)
+ nodes_of_iogroup += 1
+ if node_status == "online":
+ online_nodes += 1
+
+ if nodes_of_iogroup == 0:
+ return 3, "IO Group %s not found in agent output" % item
+
+ if nodes_of_iogroup == online_nodes:
+ status = 0
+ elif online_nodes == 0:
+ status = 2
+ else:
+ status = 1
+
+ return status, message
+
+check_info["ibm_svc_node"] = {
+ "check_function" : check_ibm_svc_node,
+ "inventory_function" : inventory_ibm_svc_node,
+ "service_description" : "IBM SVC IO Group %s",
+ "has_perfdata" : False,
+}
+
improved check manpages
Message-ID: <5331aa4d.twBpSKX9YXzzImFL%bs(a)mathias-kettner.de>
User-Agent: Heirloom mailx 12.4 7/29/08
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Module: check_mk
Branch: master
Commit: a2485e853698139191095c3d873275700de0c2c8
URL: http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=a2485e85369813…
Author: Bernd Stroessenreuther <bs(a)mathias-kettner.de>
Date: Tue Mar 25 17:09:46 2014 +0100
ibm_svc_license, ibm_svc_mdisk: improved check manpages
---
checkman/ibm_svc_license | 4 ++++
checkman/ibm_svc_mdisk | 3 +++
2 files changed, 7 insertions(+)
diff --git a/checkman/ibm_svc_license b/checkman/ibm_svc_license
index 96ee633..9147643 100644
--- a/checkman/ibm_svc_license
+++ b/checkman/ibm_svc_license
@@ -8,6 +8,10 @@ description:
of licenses is compared to the usage of licenses. The check returns
{CRIT} if the usage is higher than the licensing and {OK} otherwise.
+item:
+ The name of the licensable feature. This is everything after used_ or
+ license_ in the output of the lslicense command.
+
perfdata:
Two values are reported: The number of licenses you have and the number
of licenses used.
diff --git a/checkman/ibm_svc_mdisk b/checkman/ibm_svc_mdisk
index b870de4..3226a22 100644
--- a/checkman/ibm_svc_mdisk
+++ b/checkman/ibm_svc_mdisk
@@ -13,5 +13,8 @@ description:
The worst of both is returned as check result.
+item:
+ The name of the MDisk.
+
inventory:
Creates one check for every MDisk in th IBM SVC / V7000 device.