Module: check_mk
Branch: master
Commit: 7e6463da002fe052cd17ba8c25d3d58d9939c08c
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=7e6463da002fe0…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Fri Jul 24 10:17:57 2015 +0200
#2476 FIX check_bi_aggr: Fixed exception when authentication is enabled
---
.werks/2476 | 10 ++++++++++
ChangeLog | 1 +
doc/treasures/active_checks/check_bi_aggr | 2 +-
3 files changed, 12 insertions(+), 1 deletion(-)
diff --git a/.werks/2476 b/.werks/2476
new file mode 100644
index 0000000..7596816
--- /dev/null
+++ b/.werks/2476
@@ -0,0 +1,10 @@
+Title: check_bi_aggr: Fixed exception when authentication is enabled
+Level: 1
+Component: checks
+Class: fix
+Compatible: compat
+State: unknown
+Version: 1.2.7i3
+Date: 1437725670
+
+
diff --git a/ChangeLog b/ChangeLog
index b5e5a67..e52d97e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -74,6 +74,7 @@
* 2376 FIX: Fix parsing of performance data from MRPE based checks
* 2377 FIX: cpu.loads: Fix output of reference for predition (was scaled wrongly by
number of cores)
* 2473 FIX: cisco_asa_failover: Reworked check to reflect expected primary/secondary
states of devices...
+ * 2476 FIX: check_bi_aggr: Fixed exception when authentication is enabled
Multisite:
* 2385 SEC: Fixed possible reflected XSS on all GUI pages where users can produce
unhandled exceptions...
diff --git a/doc/treasures/active_checks/check_bi_aggr
b/doc/treasures/active_checks/check_bi_aggr
index 4c5a16e..c67a84a 100755
--- a/doc/treasures/active_checks/check_bi_aggr
+++ b/doc/treasures/active_checks/check_bi_aggr
@@ -118,7 +118,7 @@ def init_auth():
if username and password:
passwdmngr = urllib2.HTTPPasswordMgrWithDefaultRealm()
passwdmngr.add_password(None, base_url, username, password)
- if mode == 'digest':
+ if auth_mode == 'digest':
authhandler = urllib2.HTTPDigestAuthHandler(passwdmngr)
else:
authhandler = urllib2.HTTPBasicAuthHandler(passwdmngr)