Daniil Kharun
2012-11-15 05:17:19 UTC
Daniil Kharun [http://community.zenoss.org/people/Harunaga] created the discussion
"Modelling Network Devices problem"
To view the discussion, visit: http://community.zenoss.org/message/69921#69921
--------------------------------------------------------------
Version = Zenoss Core 4.2
When I run a device model for ethernet switche I get similar output to the following:
2012-11-15 09:59:55,066 INFO zen.ZenModeler: Connecting to localhost:8789Â
2012-11-15 09:59:55,072 INFO zen.ZenModeler: Connected to ZenHubÂ
2012-11-15 09:59:55,172 INFO zen.ZenModeler: Collecting for device 10.10.29.4Â
2012-11-15 09:59:55,245 INFO zen.ZenModeler: No WMI plugins found for 10.10.29.4Â
2012-11-15 09:59:55,248 INFO zen.ZenModeler: No Python plugins found for 10.10.29.4Â
2012-11-15 09:59:55,250 INFO zen.ZenModeler: No command plugins found for 10.10.29.4Â
2012-11-15 09:59:55,253 INFO zen.ZenModeler: SNMP collection device 10.10.29.4Â
2012-11-15 09:59:55,254 INFO zen.ZenModeler: plugins: zenoss.snmp.NewDeviceMap, zenoss.snmp.DeviceMap, zenoss.snmp.InterfaceMap, zenoss.snmp.RouteMapÂ
2012-11-15 09:59:55,301 INFO zen.ZenModeler: No portscan plugins found for 10.10.29.4Â
2012-11-15 09:59:57,106 INFO zen.SnmpClient: snmp client finished collection for 10.10.29.4Â
2012-11-15 09:59:57,107 INFO zen.ZenModeler: Processing zenoss.snmp.NewDeviceMap for device 10.10.29.4Â
2012-11-15 09:59:57,108 INFO zen.ZenModeler: processing zenoss.snmp.DeviceMap for device 10.10.29.4Â
2012-11-15 09:59:57,109 INFO zen.ZenModeler: Modeler zenoss.snmp.InterfaceMap processing data for device 10.10.29.4Â
2012-11-15 09:59:57,110 WARNING zen.ZenModeler: Skipping 127.0.0.1 as it points to missing ifindex 9000Â
2012-11-15 09:59:57,119 INFO zen.ZenModeler: processing zenoss.snmp.RouteMap for device 10.10.29.4Â
Traceback (most recent call last):Â
File "/opt/zenoss/lib/python2.7/logging/__init__.py", line 842, in emitÂ
msg = self.format(record)Â
File "/opt/zenoss/lib/python2.7/logging/__init__.py", line 719, in formatÂ
return fmt.format(record)Â
File "/opt/zenoss/lib/python2.7/logging/__init__.py", line 464, in formatÂ
record.message = record.getMessage()Â
File "/opt/zenoss/lib/python2.7/logging/__init__.py", line 324, in getMessageÂ
msg = str(self.msg)Â
File "/opt/zenoss/Products/ZenHub/PBDaemon.py", line 49, in __str__Â
return Exception.__str__(self) + self.tracebackÂ
TypeError: cannot concatenate 'str' and 'NoneType' objectsÂ
Logged from file zenmodeler.py, line 688Â
2012-11-15 09:59:57,261 ERROR zen.ZenModeler: Client 10.10.29.4 finished with message: [Failure instance: Traceback (failure with no frames): :Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â
Traceback (most recent call last):Â
File "/opt/zenoss/lib/python/twisted/python/reflect.py", line 546, in _safeFormatÂ
return formatter(o)Â
File "/opt/zenoss/Products/ZenHub/PBDaemon.py", line 49, in __str__Â
return Exception.__str__(self) + self.tracebackÂ
TypeError: cannot concatenate 'str' and 'NoneType' objectsÂ
2012-11-15 09:59:57,261 INFO zen.ZenModeler: Scan time: 2.09 secondsÂ
2012-11-15 09:59:57,276 INFO zen.ZenModeler: Daemon ZenModeler shutting downÂ
IF-MIB::ifDescr.2 = STRING: Ethernet1/2
IF-MIB::ifDescr.3 = STRING: Ethernet1/3
IF-MIB::ifDescr.4 = STRING: Ethernet1/4
IF-MIB::ifDescr.5 = STRING: Ethernet1/5
IF-MIB::ifDescr.6 = STRING: Ethernet1/6
IF-MIB::ifDescr.7 = STRING: Ethernet1/7
IF-MIB::ifDescr.8 = STRING: Ethernet1/8
IF-MIB::ifDescr.9 = STRING: Ethernet1/9
IF-MIB::ifDescr.10 = STRING: Ethernet1/10
IF-MIB::ifDescr.11 = STRING: Ethernet1/11
IF-MIB::ifDescr.12 = STRING: Ethernet1/12
IF-MIB::ifDescr.13 = STRING: Ethernet1/13
IF-MIB::ifDescr.14 = STRING: Ethernet1/14
IF-MIB::ifDescr.15 = STRING: Ethernet1/15
IF-MIB::ifDescr.16 = STRING: Ethernet1/16
IF-MIB::ifDescr.17 = STRING: Ethernet1/17
IF-MIB::ifDescr.18 = STRING: Ethernet1/18
IF-MIB::ifDescr.19 = STRING: Ethernet1/19
IF-MIB::ifDescr.20 = STRING: Ethernet1/20
IF-MIB::ifDescr.21 = STRING: Ethernet1/21
IF-MIB::ifDescr.22 = STRING: Ethernet1/22
IF-MIB::ifDescr.23 = STRING: Ethernet1/23
IF-MIB::ifDescr.24 = STRING: Ethernet1/24
IF-MIB::ifDescr.25 = STRING: Ethernet1/25
IF-MIB::ifDescr.26 = STRING: Ethernet1/26
IF-MIB::ifDescr.3101 = STRING: Vlan101
How to solve the problem?
--------------------------------------------------------------
Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/69921#69921]
Start a new discussion in zenoss-users by email
[discussions-community-forums-zenoss--***@community.zenoss.org] -or- at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
"Modelling Network Devices problem"
To view the discussion, visit: http://community.zenoss.org/message/69921#69921
--------------------------------------------------------------
Version = Zenoss Core 4.2
When I run a device model for ethernet switche I get similar output to the following:
2012-11-15 09:59:55,066 INFO zen.ZenModeler: Connecting to localhost:8789Â
2012-11-15 09:59:55,072 INFO zen.ZenModeler: Connected to ZenHubÂ
2012-11-15 09:59:55,172 INFO zen.ZenModeler: Collecting for device 10.10.29.4Â
2012-11-15 09:59:55,245 INFO zen.ZenModeler: No WMI plugins found for 10.10.29.4Â
2012-11-15 09:59:55,248 INFO zen.ZenModeler: No Python plugins found for 10.10.29.4Â
2012-11-15 09:59:55,250 INFO zen.ZenModeler: No command plugins found for 10.10.29.4Â
2012-11-15 09:59:55,253 INFO zen.ZenModeler: SNMP collection device 10.10.29.4Â
2012-11-15 09:59:55,254 INFO zen.ZenModeler: plugins: zenoss.snmp.NewDeviceMap, zenoss.snmp.DeviceMap, zenoss.snmp.InterfaceMap, zenoss.snmp.RouteMapÂ
2012-11-15 09:59:55,301 INFO zen.ZenModeler: No portscan plugins found for 10.10.29.4Â
2012-11-15 09:59:57,106 INFO zen.SnmpClient: snmp client finished collection for 10.10.29.4Â
2012-11-15 09:59:57,107 INFO zen.ZenModeler: Processing zenoss.snmp.NewDeviceMap for device 10.10.29.4Â
2012-11-15 09:59:57,108 INFO zen.ZenModeler: processing zenoss.snmp.DeviceMap for device 10.10.29.4Â
2012-11-15 09:59:57,109 INFO zen.ZenModeler: Modeler zenoss.snmp.InterfaceMap processing data for device 10.10.29.4Â
2012-11-15 09:59:57,110 WARNING zen.ZenModeler: Skipping 127.0.0.1 as it points to missing ifindex 9000Â
2012-11-15 09:59:57,119 INFO zen.ZenModeler: processing zenoss.snmp.RouteMap for device 10.10.29.4Â
Traceback (most recent call last):Â
File "/opt/zenoss/lib/python2.7/logging/__init__.py", line 842, in emitÂ
msg = self.format(record)Â
File "/opt/zenoss/lib/python2.7/logging/__init__.py", line 719, in formatÂ
return fmt.format(record)Â
File "/opt/zenoss/lib/python2.7/logging/__init__.py", line 464, in formatÂ
record.message = record.getMessage()Â
File "/opt/zenoss/lib/python2.7/logging/__init__.py", line 324, in getMessageÂ
msg = str(self.msg)Â
File "/opt/zenoss/Products/ZenHub/PBDaemon.py", line 49, in __str__Â
return Exception.__str__(self) + self.tracebackÂ
TypeError: cannot concatenate 'str' and 'NoneType' objectsÂ
Logged from file zenmodeler.py, line 688Â
2012-11-15 09:59:57,261 ERROR zen.ZenModeler: Client 10.10.29.4 finished with message: [Failure instance: Traceback (failure with no frames): :Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â
Traceback (most recent call last):Â
File "/opt/zenoss/lib/python/twisted/python/reflect.py", line 546, in _safeFormatÂ
return formatter(o)Â
File "/opt/zenoss/Products/ZenHub/PBDaemon.py", line 49, in __str__Â
return Exception.__str__(self) + self.tracebackÂ
TypeError: cannot concatenate 'str' and 'NoneType' objectsÂ
Â
]Â 2012-11-15 09:59:57,261 INFO zen.ZenModeler: Scan time: 2.09 secondsÂ
2012-11-15 09:59:57,276 INFO zen.ZenModeler: Daemon ZenModeler shutting downÂ
snmpwalk -v 2c -c COMMUNITY 10.10.29.4 .1.3.6.1.2.1.2.2.1.2
IF-MIB::ifDescr.1 = STRING: Ethernet1/1IF-MIB::ifDescr.2 = STRING: Ethernet1/2
IF-MIB::ifDescr.3 = STRING: Ethernet1/3
IF-MIB::ifDescr.4 = STRING: Ethernet1/4
IF-MIB::ifDescr.5 = STRING: Ethernet1/5
IF-MIB::ifDescr.6 = STRING: Ethernet1/6
IF-MIB::ifDescr.7 = STRING: Ethernet1/7
IF-MIB::ifDescr.8 = STRING: Ethernet1/8
IF-MIB::ifDescr.9 = STRING: Ethernet1/9
IF-MIB::ifDescr.10 = STRING: Ethernet1/10
IF-MIB::ifDescr.11 = STRING: Ethernet1/11
IF-MIB::ifDescr.12 = STRING: Ethernet1/12
IF-MIB::ifDescr.13 = STRING: Ethernet1/13
IF-MIB::ifDescr.14 = STRING: Ethernet1/14
IF-MIB::ifDescr.15 = STRING: Ethernet1/15
IF-MIB::ifDescr.16 = STRING: Ethernet1/16
IF-MIB::ifDescr.17 = STRING: Ethernet1/17
IF-MIB::ifDescr.18 = STRING: Ethernet1/18
IF-MIB::ifDescr.19 = STRING: Ethernet1/19
IF-MIB::ifDescr.20 = STRING: Ethernet1/20
IF-MIB::ifDescr.21 = STRING: Ethernet1/21
IF-MIB::ifDescr.22 = STRING: Ethernet1/22
IF-MIB::ifDescr.23 = STRING: Ethernet1/23
IF-MIB::ifDescr.24 = STRING: Ethernet1/24
IF-MIB::ifDescr.25 = STRING: Ethernet1/25
IF-MIB::ifDescr.26 = STRING: Ethernet1/26
IF-MIB::ifDescr.3101 = STRING: Vlan101
How to solve the problem?
--------------------------------------------------------------
Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/69921#69921]
Start a new discussion in zenoss-users by email
[discussions-community-forums-zenoss--***@community.zenoss.org] -or- at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]