Module: check_mk
Branch: master
Commit: d7a8b3ff86e8767fdd104654a4c97f8dec789d2b
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=d7a8b3ff86e876…
Author: Simon Betz <si(a)mathias-kettner.de>
Date: Mon Jan 9 10:34:39 2017 +0100
4258 FIX snmp_extended_info: fixed undefined variable
Change-Id: I6abd2fd21d539b04d382a1156e891f78869d2693
---
.werks/4258 | 10 ++++++++++
ChangeLog | 5 ++++-
inventory/snmp_extended_info | 2 +-
3 files changed, 15 insertions(+), 2 deletions(-)
diff --git a/.werks/4258 b/.werks/4258
new file mode 100644
index 0000000..2e697b5
--- /dev/null
+++ b/.werks/4258
@@ -0,0 +1,10 @@
+Title: snmp_extended_info: fixed undefined variable
+Level: 1
+Component: inv
+Class: fix
+Compatible: compat
+State: unknown
+Version: 1.4.0i4
+Date: 1483954440
+
+
diff --git a/ChangeLog b/ChangeLog
index cd4eeb1..9d7b702 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -24,8 +24,8 @@
* 4120 FIX: fixed checks mysql and mysql.sessions for multiple MySQL instances...
* 4121 FIX: mk_mysql: fixed handling of multiple instances
* 4122 FIX: ibm_svc_enclosure: added support for firmware >= 7.8...
- * 4176 FIX: postfix_mailq_status: fixed wrong status handling
* 4182 FIX: mysql_slave: fixed crash if agent output is empty...
+ * 4176 FIX: postfix_mailq_status: fixed wrong status handling
Multisite:
* 4169 View action: Default values of sticky, notification and persistent options can
now be configured via global settings....
@@ -63,6 +63,9 @@
* 4219 FIX: Trap processing with community "public" is now only default and
not accepted in all cases anymore...
NOTE: Please refer to the migration notes!
+ HW/SW-Inventory:
+ * 4258 FIX: snmp_extended_info: fixed undefined variable
+
1.4.0i3:
Core & Setup:
diff --git a/inventory/snmp_extended_info b/inventory/snmp_extended_info
index 980f563..cd98e9a 100644
--- a/inventory/snmp_extended_info
+++ b/inventory/snmp_extended_info
@@ -52,7 +52,7 @@ def inv_snmp_extended_info(info):
for child, parent, description, child_type, name, serial, model in info:
parsed.setdefault(child, (parent, description, child_type, name, serial, model))
- for index, (parent, description, entity_type, name, serial, mode) in parsed.items():
+ for index, (parent, description, entity_type, name, serial, model) in
parsed.items():
# device itself
if parent == "0":
node = inv_tree("hardware.system.")