I am having some issues with Plugins not modeling on my devices correctly, specifically the zenoss.snmp.InterfaceMap and zenoss.snmp.RouteMap plugins. I have tried them on multiple devices (server and network gear), but they all fail each time.
I am not sure where to look for any details on how to fix these, can anyone offer any advice
Subject: |
This seems to be the error I |
Author: |
Tony H |
Posted: |
2015-06-09 10:50 |
This seems to be the error I am getting when trying to model:
2015-06-09 11:48:48,578 ERROR zen.ZenModeler: : Traceback (most recent call last): File "/opt/zenoss/Products/ZenHub/PBDaemon.py", line 84, in inner return callable(*args, **kw) File "/opt/zenoss/Products/ZenHub/services/ModelerService.py", line 132, in remote_applyDataMaps result = inner(map) File "/opt/zenoss/Products/ZenHub/services/ModelerService.py", line 128, in inner return self._do_with_retries(action) File "/opt/zenoss/Products/ZenHub/services/ModelerService.py", line 154, in _do_with_retries return action() File "/opt/zenoss/Products/ZenHub/services/ModelerService.py", line 127, in action return bool(adm._applyDataMap(device, map)) File "/opt/zenoss/lib/python/ZODB/transact.py", line 44, in g r = f(*args, **kwargs) File "/opt/zenoss/Products/DataCollector/ApplyDataMap.py", line 207, in _applyDataMap changed = self._updateRelationship(tobj, datamap) File "/opt/zenoss/Products/DataCollector/ApplyDataMap.py", line 270, in _updateRelationship objchange, obj = self._createRelObject(device, objmap, rname) File "/opt/zenoss/Products/DataCollector/ApplyDataMap.py", line 454, in _createRelObject return self._updateObject(remoteObj, objmap) or changed, remoteObj File "/opt/zenoss/Products/DataCollector/ApplyDataMap.py", line 379, in _updateObject setter(*args) File "/opt/zenoss/Products/ZenModel/IpInterface.py", line 306, in setIpAddresses self.addIpAddress(ip) File "/opt/zenoss/Products/ZenModel/IpInterface.py", line 254, in addIpAddress ipobj = networks.createIp(ip, netmask) File "/opt/zenoss/Products/ZenModel/IpNetwork.py", line 304, in createIp netobj = self.createNet(ip, netmask) File "/opt/zenoss/Products/ZenModel/IpNetwork.py", line 201, in createNet netTree = map(int, netTree) ValueError: invalid literal for int() with base 10: '' : Traceback (most recent call last): File "/opt/zenoss/Products/DataCollector/zenmodeler.py", line 680, in processClient if driver.next(): File "/opt/zenoss/Products/ZenUtils/Driver.py", line 63, in result raise ex RemoteException: : Traceback (most recent call last): File "/opt/zenoss/Products/ZenHub/PBDaemon.py", line 84, in inner return callable(*args, **kw) File "/opt/zenoss/Products/ZenHub/services/ModelerService.py", line 132, in remote_applyDataMaps result = inner(map) File "/opt/zenoss/Products/ZenHub/services/ModelerService.py", line 128, in inner return self._do_with_retries(action) File "/opt/zenoss/Products/ZenHub/services/ModelerService.py", line 154, in _do_with_retries return action() File "/opt/zenoss/Products/ZenHub/services/ModelerService.py", line 127, in action return bool(adm._applyDataMap(device, map)) File "/opt/zenoss/lib/python/ZODB/transact.py", line 44, in g r = f(*args, **kwargs) File "/opt/zenoss/Products/DataCollector/ApplyDataMap.py", line 207, in _applyDataMap changed = self._updateRelationship(tobj, datamap) File "/opt/zenoss/Products/DataCollector/ApplyDataMap.py", line 270, in _updateRelationship objchange, obj = self._createRelObject(device, objmap, rname) File "/opt/zenoss/Products/DataCollector/ApplyDataMap.py", line 454, in _createRelObject return self._updateObject(remoteObj, objmap) or changed, remoteObj File "/opt/zenoss/Products/DataCollector/ApplyDataMap.py", line 379, in _updateObject setter(*args) File "/opt/zenoss/Products/ZenModel/IpInterface.py", line 306, in setIpAddresses self.addIpAddress(ip) File "/opt/zenoss/Products/ZenModel/IpInterface.py", line 254, in addIpAddress ipobj = networks.createIp(ip, netmask) File "/opt/zenoss/Products/ZenModel/IpNetwork.py", line 304, in createIp netobj = self.createNet(ip, netmask) File "/opt/zenoss/Products/ZenModel/IpNetwork.py", line 201, in createNet netTree = map(int, netTree) ValueError: invalid literal for int() with base 10: '' : 2015-06-09 11:48:48,579 ERROR zen.ZenModeler: Client oh2id1mns01.securedata365.local finished with message: [Failure instance: Traceback (failure with no frames): : : Traceback (most recent call last): File "/opt/zenoss/Products/ZenHub/PBDaemon.py", line 84, in inner return callable(*args, **kw) File "/opt/zenoss/Products/ZenHub/services/ModelerService.py", line 132, in remote_applyDataMaps result = inner(map) File "/opt/zenoss/Products/ZenHub/services/ModelerService.py", line 128, in inner return self._do_with_retries(action) File "/opt/zenoss/Products/ZenHub/services/ModelerService.py", line 154, in _do_with_retries return action() File "/opt/zenoss/Products/ZenHub/services/ModelerService.py", line 127, in action return bool(adm._applyDataMap(device, map)) File "/opt/zenoss/lib/python/ZODB/transact.py", line 44, in g r = f(*args, **kwargs) File "/opt/zenoss/Products/DataCollector/ApplyDataMap.py", line 207, in _applyDataMap changed = self._updateRelationship(tobj, datamap) File "/opt/zenoss/Products/DataCollector/ApplyDataMap.py", line 270, in _updateRelationship objchange, obj = self._createRelObject(device, objmap, rname) File "/opt/zenoss/Products/DataCollector/ApplyDataMap.py", line 454, in _createRelObject return self._updateObject(remoteObj, objmap) or changed, remoteObj File "/opt/zenoss/Products/DataCollector/ApplyDataMap.py", line 379, in _updateObject setter(*args) File "/opt/zenoss/Products/ZenModel/IpInterface.py", line 306, in setIpAddresses self.addIpAddress(ip) File "/opt/zenoss/Products/ZenModel/IpInterface.py", line 254, in addIpAddress ipobj = networks.createIp(ip, netmask) File "/opt/zenoss/Products/ZenModel/IpNetwork.py", line 304, in createIp netobj = self.createNet(ip, netmask) File "/opt/zenoss/Products/ZenModel/IpNetwork.py", line 201, in createNet netTree = map(int, netTree) ValueError: invalid literal for int() with base 10: '' :