Module: check_mk
Branch: master
Commit: 0032b8adc79e6cf302c22ca0e3d2599e7df1843b
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=0032b8adc79e6c…
Author: Simon Betz <si(a)mathias-kettner.de>
Date: Wed Jun 29 14:36:08 2016 +0200
inv_tree_list instead of inv_tree
---
inventory/perle_chassis_slots | 2 +-
inventory/perle_modules_mgt | 2 +-
inventory/perle_psmu | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/inventory/perle_chassis_slots b/inventory/perle_chassis_slots
index 9472fee..a29d151 100644
--- a/inventory/perle_chassis_slots
+++ b/inventory/perle_chassis_slots
@@ -61,7 +61,7 @@ def inv_perle_chassis_slots(info):
"10" : "cm4gpt",
}
- node = inv_tree("hardware.components.modules:")
+ node = inv_tree_list("hardware.components.modules:")
for index, name, serial, bootloader, fw, \
alarms, diagstate, ty in info:
diff --git a/inventory/perle_modules_mgt b/inventory/perle_modules_mgt
index 693afff..1feff26 100644
--- a/inventory/perle_modules_mgt
+++ b/inventory/perle_modules_mgt
@@ -31,7 +31,7 @@
def inv_perle_modules_mgt(info):
- node = inv_tree("hardware.components.modules:")
+ node = inv_tree_list("hardware.components.modules:")
for index, name, descr, status in info:
node.append({
"index" : index,
diff --git a/inventory/perle_psmu b/inventory/perle_psmu
index 3914a6f..11e02c8 100644
--- a/inventory/perle_psmu
+++ b/inventory/perle_psmu
@@ -42,7 +42,7 @@
def inv_perle_psmu(parsed):
- node = inv_tree("hardware.components.psus:")
+ node = inv_tree_list("hardware.components.psus:")
for itemname, data in parsed.items():
itemname_splitted = itemname.split(" ")