Module: check_mk
Branch: master
Commit: 9799d10b0065da8fcfe70e2984c03628db6955b2
URL: http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=9799d10b0065da…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Tue Jan 22 10:25:06 2013 +0100
Updated bug entries #0068
---
.bugs/68 | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/.bugs/68 b/.bugs/68
index b0375a7..a49ec23 100644
--- a/.bugs/68
+++ b/.bugs/68
@@ -21,3 +21,7 @@ def lookup_ipaddress(hostname):
return sockaddr[0]
Ausserdem kommt check_icmp damit nicht klar. Hier muss dann auf
check_ping ausgewichen werden.
+
+Note: There were many discussions about this feature on the mailinglists. I
+also found some patches. When implementing this, please take a look at the
+lists for details / hints.
Module: check_mk
Branch: master
Commit: ebbe68b7c6bba125570acfce32941c2d33276a8f
URL: http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=ebbe68b7c6bba1…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Tue Jan 22 10:00:25 2013 +0100
updated drbd manpage
---
checkman/drbd | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/checkman/drbd b/checkman/drbd
index cf6e60f..8b4f3c9 100644
--- a/checkman/drbd
+++ b/checkman/drbd
@@ -28,5 +28,7 @@ inventory:
devices with the connection state "Unconfigured" are skipped.
[parameters]
-roles (list): The expected role of each node
-disk_states (list): The expected disk-state of each node
+roles (list): The expected role of each node. Can also be set to None to disable
+ alerting on this value.
+disk_states (list): The expected disk-state of each node. Can also be set to None
+ to disable alerting on this value.
Module: check_mk
Branch: master
Commit: b43d54e5124b61ce42a88f4bd5950f207fe6975c
URL: http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=b43d54e5124b61…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Tue Jan 22 09:56:39 2013 +0100
FIX: drbd: Parameters for expected roles and disk states can now be set to None to disable alerting on changed values
---
ChangeLog | 2 ++
checks/drbd | 4 ++--
2 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index ce3decf..5c923e2 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -7,6 +7,8 @@
Checks & Agents:
* FIX: mssql_counters.file_sizes - Fixed wrong value for "Log Files" in output
+ * FIX: drbd: Parameters for expected roles and disk states can now be set to
+ None to disable alerting on changed values
WATO:
* Added hr_mem check to the memory checkgroup to make it configurable in WATO
diff --git a/checks/drbd b/checks/drbd
index 4c58dc8..76b067c 100644
--- a/checks/drbd
+++ b/checks/drbd
@@ -254,12 +254,12 @@ def check_drbd_general(item, params, info):
output = 'Connection State: %s' % parsed['cs']
output += ', Roles: %s/%s' % (parsed['ro'][0], parsed['ro'][1])
- if parsed['ro'] != params[0]:
+ if params[0] is not None and parsed['ro'] != params[0]:
state = state < 2 and 2 or state
output += ' (Expected: %s/%s)' % (params[0][0], params[0][1])
output += ', Disk States: %s/%s' % (parsed['ds'][0], parsed['ds'][1])
- if parsed['ds'] != params[1]:
+ if params[1] is not None and parsed['ds'] != params[1]:
state = state < 2 and 2 or state
output += ' (Expected: %s/%s)' % (params[1][0], params[1][1])
Module: check_mk
Branch: master
Commit: fa4c5551eda0209917fd2671576e5811f074cabb
URL: http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=fa4c5551eda020…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Mon Jan 21 16:47:33 2013 +0100
Updated bug entries #0897
---
.bugs/897 | 9 +++++++++
1 files changed, 9 insertions(+), 0 deletions(-)
diff --git a/.bugs/897 b/.bugs/897
new file mode 100644
index 0000000..494729c
--- /dev/null
+++ b/.bugs/897
@@ -0,0 +1,9 @@
+Title: Add Windows-Agent as Zip-File to Download page
+Component: core
+State: open
+Date: 2013-01-21 16:46:19
+Targetversion: future
+Class: todo
+
+It is bad for windows users that there is no zip-download of the agent. There is the installer
+but someone might not want to use it.
Module: check_mk
Branch: master
Commit: b22e1fd423892da497a182a544efeade27b1409c
URL: http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=b22e1fd423892d…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Mon Jan 21 15:41:16 2013 +0100
Fixed problem on user profile page when no alias set for a user
---
ChangeLog | 2 ++
web/htdocs/wato.py | 2 +-
web/plugins/userdb/ldap.py | 4 ++--
3 files changed, 5 insertions(+), 3 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 378b33e..529fa72 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -7,6 +7,8 @@
WATO:
* Added hr_mem check to the memory checkgroup to make it configurable in WATO
+ * Fixed some typos in ldap error messages
+ * Fixed problem on user profile page when no alias set for a user
1.2.1i5:
Core:
diff --git a/web/htdocs/wato.py b/web/htdocs/wato.py
index fae9b2c..f5da593 100644
--- a/web/htdocs/wato.py
+++ b/web/htdocs/wato.py
@@ -10947,7 +10947,7 @@ def page_user_profile():
forms.header(_("Personal Settings"))
forms.section(_("Name"), simple=True)
- html.write(user["alias"])
+ html.write(user.get("alias", config.user_id))
if config.may('general.change_password') and not is_locked('password'):
forms.section(_("Password"))
diff --git a/web/plugins/userdb/ldap.py b/web/plugins/userdb/ldap.py
index 86eb6b2..af09db0 100644
--- a/web/plugins/userdb/ldap.py
+++ b/web/plugins/userdb/ldap.py
@@ -159,7 +159,7 @@ def ldap_default_bind():
ldap_bind('', '', catch = False) # anonymous bind
except (ldap.INVALID_CREDENTIALS, ldap.INAPPROPRIATE_AUTH):
raise MKLDAPException(_('Unable to connect to LDAP server with the configured bind credentials. '
- 'Plase fix this in the '
+ 'Please fix this in the '
'<a href="wato.py?mode=edit_configvar&varname=ldap_connection">LDAP '
'connection settings</a>.'))
@@ -423,7 +423,7 @@ ldap_attribute_plugins['alias'] = {
def ldap_convert_auth_expire(params, user_id, ldap_user, user):
changed_attr = params.get('attr', ldap_attr('pw_changed'))
if not changed_attr in ldap_user:
- raise MKLDAPException(_('The "Authentication Expiration" attribute (%s) could not be fetched'
+ raise MKLDAPException(_('The "Authentication Expiration" attribute (%s) could not be fetched '
'from the LDAP server for user %s.') % (changed_attr, ldap_user))
# For keeping this thing simple, we don't parse the date here. We just store