On Mar 19, 2009, at 12:03 PM, bigtall wrote:
> I have 4 Linksys switches all from the same familiy of product names.
> --Three of the switches (8 ports) I am able to SNMP trap them using  
> Zenoss, and monitor there traffic effectively.
>
> I have checked the subnet mask setting, it is set at 255.255.255.0
>
> --One of the switches (48 port) I am getting the following error:
>
> processing zenoss.snmp.RouteMap for device 192.168.1.253
>
> Remote exception: exceptions.ValueError: ("netip '%s' without  
> netmask", '0.255.255.1')Traceback (most recent call last): File "/ 
> usr/local/zenoss/zenoss/Products/ZenHub/PBDaemon.py", line 52, in  
> inner return callable(*args, **kw) File "/usr/local/zenoss/zenoss/ 
> Products/ZenHub/services/ModelerService.py", line 89, in  
> remote_applyDataMaps if adm._applyDataMap(device, map): File "/usr/ 
> local/zenoss/zenoss/Products/DataCollector/ApplyDataMap.py", line  
> 140, in _applyDataMap changed = self._updateRelationship(tobj,  
> datamap) File "/usr/local/zenoss/zenoss/Products/DataCollector/ 
> ApplyDataMap.py", line 174, in _updateRelationship objchange, obj =  
> self._createRelObject(device, objmap, rname) File "/usr/local/zenoss/ 
> zenoss/Products/DataCollector/ApplyDataMap.py", line 324, in  
> _createRelObject return self._updateObject(remoteObj, objmap) or  
> changed, remoteObj File "/usr/local/zenoss/zenoss/Products/ 
> DataCollector/ApplyDataMap.py", line 255, in _updateObject  
> setter(value) File "/usr/local/ze
> noss/zenoss/Products/ZenModel/IpInterface.py", line 298, in  
> setIpAddresses self.addIpAddress(ip) File "/usr/local/zenoss/zenoss/ 
> Products/ZenModel/IpInterface.py", line 249, in addIpAddress ipobj =  
> networks.createIp(ip, netmask) File "/usr/local/zenoss/zenoss/ 
> Products/ZenModel/IpNetwork.py", line 225, in createIp netobj =  
> self.createNet(ip, netmask) File "/usr/local/zenoss/zenoss/Products/ 
> ZenModel/IpNetwork.py", line 161, in createNet raise  
> ValueError("netip '%s' without netmask", netip) ValueError: ("netip  
> '%s' without netmask", '0.255.255.1')

I just came across this one myself not too long ago. There is a fix  
for it that you can try patching in. You should restart the zenmodeler  
daemon after applying the patch.

zenpatch 12329

Ticket #4517: Traceback when modeling an interface with a 0 netmask
http://dev.zenoss.org/trac/ticket/4517
_______________________________________________
zenoss-users mailing list
[email protected]
http://lists.zenoss.org/mailman/listinfo/zenoss-users

Reply via email to