Module: check_mk
Branch: master
Commit: d7258953704171f67953e8e47b5c15f9df02ac1d
URL: http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=d7258953704171…
Author: Mathias Kettner <mk(a)mathias-kettner.de>
Date: Mon Nov 7 12:17:59 2016 +0100
Updated Werk description
---
.werks/3938 | 7 ++++---
ChangeLog | 2 +-
2 files changed, 5 insertions(+), 4 deletions(-)
diff --git a/.werks/3938 b/.werks/3938
index 036e74d..d2bd87f 100644
--- a/.werks/3938
+++ b/.werks/3938
@@ -1,4 +1,4 @@
-Title: tactical overview: fixed wrong display of number of service problems when stale services are available
+Title: tactical overview: fixed wrong display of number of host/service problems
Level: 1
Component: multisite
Compatible: compat
@@ -6,6 +6,7 @@ Version: 1.4.0i2
Date: 1478503370
Class: fix
-When stale services where available number of "service problems" and "service problems unhandled" where the same as stale services in tactical overview snapin.
-This has been fixed now.
+The display number was not the number of problems, but the number of stale
+entries - which is most times 0. This had recently been introduced and
+is not fixed again.
diff --git a/ChangeLog b/ChangeLog
index cd1c0f5..4ee89ee 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -63,7 +63,7 @@
* 3974 FIX: Sorting comments in hover menu of comments icon by time now
* 4040 FIX: Fix error in view about "No WATO folder ..." in case of host imported via cmcdump...
* 4046 FIX: Repaired html rendering....
- * 3938 FIX: tactical overview: fixed wrong display of number of service problems when stale services are available...
+ * 3938 FIX: tactical overview: fixed wrong display of number of host/service problems...
WATO:
* 3915 User access times: New icon when never logged in; New column "last seen"
Module: check_mk
Branch: master
Commit: 6f7b837e22ba52c5b3830dcf768bac6029402569
URL: http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=6f7b837e22ba52…
Author: Andreas Boesl <ab(a)mathias-kettner.de>
Date: Mon Nov 7 09:57:42 2016 +0100
added missing check
---
checks/netapp_api_luns | 69 ++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 69 insertions(+)
diff --git a/checks/netapp_api_luns b/checks/netapp_api_luns
new file mode 100644
index 0000000..bad6515
--- /dev/null
+++ b/checks/netapp_api_luns
@@ -0,0 +1,69 @@
+#!/usr/bin/python
+# -*- encoding: utf-8; py-indent-offset: 4 -*-
+# +------------------------------------------------------------------+
+# | ____ _ _ __ __ _ __ |
+# | / ___| |__ ___ ___| | __ | \/ | |/ / |
+# | | | | '_ \ / _ \/ __| |/ / | |\/| | ' / |
+# | | |___| | | | __/ (__| < | | | | . \ |
+# | \____|_| |_|\___|\___|_|\_\___|_| |_|_|\_\ |
+# | |
+# | Copyright Mathias Kettner 2014 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-
+# tails. 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.
+
+# <<<netapp_api_luns:sep(9)>>>
+# lun /vol/iscsi_crm_dblogs/crm_dblogs_lu01 read-only false size 644286182400 vserver ISCSI_CRM size-used 538924421120 online true volume iscsi_crm_dblogs
+
+def inventory_netapp_api_luns(parsed):
+ for lun in parsed.keys():
+ yield lun, {}
+
+def check_netapp_api_luns(item, params, parsed):
+ lun = parsed.get(item)
+
+ if not lun:
+ yield 3, "LUN not found in agent output"
+ return
+
+ if lun.get("online") != "true":
+ yield 1, "LUN is %s" % lun.get("online")
+
+ if lun.get("read-only") != "false":
+ yield 1, "read-only is %s" % lun.get("read-only")
+
+ mega = 1024.0 * 1024.0
+ size_total = int(lun.get("size")) / mega
+ size_avail = size_total - (int(lun.get("size-used")) / mega)
+
+ if params == True:
+ yield 0, "Total size: %s, Used space is ignored" % get_bytes_human_readable(size_total)
+ else:
+ yield df_check_filesystem_single(g_hostname, item, size_total, size_avail, 0, None, None, params)
+
+
+def netapp_api_luns_item(name):
+ return name.rsplit("/", 1)[-1]
+
+check_info["netapp_api_luns"] = {
+ 'check_function' : check_netapp_api_luns,
+ 'inventory_function' : inventory_netapp_api_luns,
+ 'parse_function' : lambda x: netapp_api_parse_lines(x,item_func = netapp_api_luns_item),
+ 'service_description' : 'LUN %s',
+ 'has_perfdata' : True,
+ 'group' : "netapp_luns",
+ 'includes' : [ "df.include", "netapp_api.include" ],
+ "default_levels_variable" : "filesystem_default_levels",
+}
Module: check_mk
Branch: master
Commit: 11d199acbaa86db9249818591e7f61bb23518e74
URL: http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=11d199acbaa86d…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Mon Nov 7 09:59:01 2016 +0100
3976 FIX Fixed broken link in LDAP automatic sync help text
---
.werks/3976 | 10 ++++++++++
ChangeLog | 1 +
web/htdocs/wato.py | 2 +-
3 files changed, 12 insertions(+), 1 deletion(-)
diff --git a/.werks/3976 b/.werks/3976
new file mode 100644
index 0000000..3f17cb7
--- /dev/null
+++ b/.werks/3976
@@ -0,0 +1,10 @@
+Title: Fixed broken link in LDAP automatic sync help text
+Level: 1
+Component: wato
+Class: fix
+Compatible: compat
+State: unknown
+Version: 1.4.0i2
+Date: 1478509127
+
+
diff --git a/ChangeLog b/ChangeLog
index ca82417..55e285e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -74,6 +74,7 @@
* 4039 FIX: Fix UnicodeEncodeError exception in WATO folder display...
* 4041 FIX: Fix exception when editing global configuration settings...
* 3975 FIX: Improved error handling when trying to edit not existing global setting
+ * 3976 FIX: Fixed broken link in LDAP automatic sync help text
Notifications:
* 3957 mail: now allows extra HTML section between body and table
diff --git a/web/htdocs/wato.py b/web/htdocs/wato.py
index b9fcbfd..f9e7d76 100644
--- a/web/htdocs/wato.py
+++ b/web/htdocs/wato.py
@@ -6066,7 +6066,7 @@ def vs_ldap_connection(new, connection_id):
title = _('Sync Interval'),
help = _('This option defines the interval of the LDAP synchronization. This setting is only '
'used by sites which have the '
- '<a href="wato.py?mode=edit_configvar&varname=userdb_automatic_sync">Automatic User '
+ '<a href="wato.py?mode=sites">Automatic User '
'Synchronization</a> enabled.<br><br>'
'Please note: Passwords of the users are never stored in WATO and therefor never cached!'),
minvalue = 60,