From a147ebf3c2f3d2242b3e512b695203c43afa27ac Mon Sep 17 00:00:00 2001 From: Gerald Talton Date: Tue, 15 Nov 2011 14:29:15 -0600 Subject: [PATCH] Updated to fix AIXSWInstalledMap not loading and AIXBase to include 'Software' link --- ZenPacks/community/AIX/AIXBase.py | 5 +++++ .../AIX/modeler/plugins/community/snmp/AIXSWInstalledMap.py | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ZenPacks/community/AIX/AIXBase.py b/ZenPacks/community/AIX/AIXBase.py index 550c7ac..a375b80 100644 --- a/ZenPacks/community/AIX/AIXBase.py +++ b/ZenPacks/community/AIX/AIXBase.py @@ -41,6 +41,11 @@ def __init__(self, id, buildRelations=True): , 'action' : 'aixdeviceOsDetail' , 'permissions' : (ZEN_VIEW, ) }, + { 'id' : 'swdetail' + , 'name' : 'Software' + , 'action' : 'deviceSoftwareDetail' + , 'permissions' : (ZEN_VIEW, ) + }, { 'id' : 'hwdetail' , 'name' : 'Hardware' , 'action' : 'aixdeviceHardwareDetail' diff --git a/ZenPacks/community/AIX/modeler/plugins/community/snmp/AIXSWInstalledMap.py b/ZenPacks/community/AIX/modeler/plugins/community/snmp/AIXSWInstalledMap.py index 4a3e304..dfe4538 100644 --- a/ZenPacks/community/AIX/modeler/plugins/community/snmp/AIXSWInstalledMap.py +++ b/ZenPacks/community/AIX/modeler/plugins/community/snmp/AIXSWInstalledMap.py @@ -11,7 +11,7 @@ # ########################################################################### -from Products.DataCollector.CollectorPlugin import SnmpPlugin, GetTableMap +from Products.DataCollector.plugins.CollectorPlugin import SnmpPlugin, GetTableMap from Products.DataCollector.plugins.DataMaps import MultiArgs class AIXSWInstalledMap(SnmpPlugin):