then the ouput is this:
`2021 Sep 03-16:52:55: ifOperStatus: up
2021 Sep 03-16:52:55: ifHCInOctets: 0
2021 Sep 03-16:52:55: ifHCOutOctets: 0
2021 Sep 03-16:52:55: ifHighSpeed: 0
2021 Sep 03-16:52:55:
2021 Sep 03-16:52:55: This interface is of INGORED_IFTYPE and will be skipped:softwareLoopback
2021 Sep 03-16:52:55: This interface is of INGORED_IFTYPE and will be skipped:softwareLoopback
2021 Sep 03-16:52:55: links from LLDP
2021 Sep 03-16:52:55: lldpRemSysName: ILO
2021 Sep 03-16:52:55: lldpRemSysDesc: H3C Comware Platform Software, Software Version 7.1.045, Release 1109
H3C S5560-54C-EI
Copyright (c) 2004-2015 Hangzhou H3C Tech. Co., Ltd. All rights reserved.
2021 Sep 03-16:52:55: lldpRemPortId: GigabitEthernet1/0/8
2021 Sep 03-16:52:55: lldpRemPortDesc: GigabitEthernet1/0/8 Interface
Traceback (most recent call last):
File "/usr/local/lib/python3.6/site-packages/pyasn1-0.4.8-py3.6.egg/pyasn1/type/constraint.py", line 32, in call
File "/usr/local/lib/python3.6/site-packages/pyasn1-0.4.8-py3.6.egg/pyasn1/type/constraint.py", line 245, in _testValue
pyasn1.type.error.ValueConstraintError: 26446
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.6/site-packages/pyasn1-0.4.8-py3.6.egg/pyasn1/type/constraint.py", line 32, in call
File "/usr/local/lib/python3.6/site-packages/pyasn1-0.4.8-py3.6.egg/pyasn1/type/constraint.py", line 697, in _testValue
File "/usr/local/lib/python3.6/site-packages/pyasn1-0.4.8-py3.6.egg/pyasn1/type/constraint.py", line 36, in call
pyasn1.type.error.ValueConstraintError: <ValueRangeConstraint object, consts 1, 4096> failed at: ValueConstraintError(26446,)
During handling of the above exception, another exception occurred:
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.6/site-packages/pysnmp-4.4.12-py3.6.egg/pysnmp/smi/rfc1902.py", line 505, in resolveWithMib
File "pysnmp/smi/mibs/SNMPv2-SMI.py", line 1281, in getInstIdFromIndices
File "/usr/local/lib/python3.6/site-packages/pyasn1-0.4.8-py3.6.egg/pyasn1/type/base.py", line 376, in clone
File "/usr/local/lib/python3.6/site-packages/pyasn1-0.4.8-py3.6.egg/pyasn1/type/univ.py", line 107, in init
File "/usr/local/lib/python3.6/site-packages/pyasn1-0.4.8-py3.6.egg/pyasn1/type/base.py", line 273, in init
pyasn1.type.error.ValueConstraintError: <ConstraintsIntersection object, consts <ValueRangeConstraint object, consts -2147483648, 2147483647>, <ValueRangeConstraint object, consts 1, 4096>> failed at: ValueConstraintError('<ValueRangeConstraint object, consts 1, 4096> failed at: ValueConstraintError(26446,)',) at LldpPortNumber
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "network_mapper.py", line 257, in
return_code = args.func(args)
File "network_mapper.py", line 165, in main_with_args
hlapi.CommunityData(config['DEFAULT']['SnmpCommunityString']))
File "/home/smartidc/python-topo/SnmpNetworkTopologyVisualizator-master/quicksnmp.py", line 19, in get
return fetch(handler)
File "/home/smartidc/python-topo/SnmpNetworkTopologyVisualizator-master/quicksnmp.py", line 112, in fetch
varBinds) in handler:
File "/usr/local/lib/python3.6/site-packages/pysnmp-4.4.12-py3.6.egg/pysnmp/hlapi/asyncore/sync/cmdgen.py", line 111, in getCmd
File "/usr/local/lib/python3.6/site-packages/pysnmp-4.4.12-py3.6.egg/pysnmp/hlapi/asyncore/cmdgen.py", line 130, in getCmd
File "/usr/local/lib/python3.6/site-packages/pysnmp-4.4.12-py3.6.egg/pysnmp/hlapi/varbinds.py", line 39, in makeVarBinds
File "/usr/local/lib/python3.6/site-packages/pysnmp-4.4.12-py3.6.egg/pysnmp/smi/rfc1902.py", line 853, in resolveWithMib
File "/usr/local/lib/python3.6/site-packages/pysnmp-4.4.12-py3.6.egg/pysnmp/smi/rfc1902.py", line 510, in resolveWithMib
pysnmp.smi.error.SmiError: Instance index (26446,) to OID conversion failure at object 'lldpLocPortId': <ConstraintsIntersection object, consts <ValueRangeConstraint object, consts -2147483648, 2147483647>, <ValueRangeConstraint object, consts 1, 4096>> failed at: ValueConstraintError('<ValueRangeConstraint object, consts 1, 4096> failed at: ValueConstraintError(26446,)',) at LldpPortNumbercaused by <class 'pyasn1.type.error.ValueConstraintError'>: <ConstraintsIntersection object, consts <ValueRangeConstraint object, consts -2147483648, 2147483647>, <ValueRangeConstraint object, consts 1, 4096>> failed at: ValueConstraintError('<ValueRangeConstraint object, consts 1, 4096> failed at: ValueConstraintError(26446,)',) at LldpPortNumber`
first i run this:
python3 network_mapper.py
then the ouput is this: `2021 Sep 03-16:52:55: ifOperStatus: up 2021 Sep 03-16:52:55: ifHCInOctets: 0 2021 Sep 03-16:52:55: ifHCOutOctets: 0 2021 Sep 03-16:52:55: ifHighSpeed: 0 2021 Sep 03-16:52:55: 2021 Sep 03-16:52:55: This interface is of INGORED_IFTYPE and will be skipped:softwareLoopback 2021 Sep 03-16:52:55: This interface is of INGORED_IFTYPE and will be skipped:softwareLoopback 2021 Sep 03-16:52:55: links from LLDP 2021 Sep 03-16:52:55: lldpRemSysName: ILO 2021 Sep 03-16:52:55: lldpRemSysDesc: H3C Comware Platform Software, Software Version 7.1.045, Release 1109 H3C S5560-54C-EI Copyright (c) 2004-2015 Hangzhou H3C Tech. Co., Ltd. All rights reserved. 2021 Sep 03-16:52:55: lldpRemPortId: GigabitEthernet1/0/8 2021 Sep 03-16:52:55: lldpRemPortDesc: GigabitEthernet1/0/8 Interface Traceback (most recent call last): File "/usr/local/lib/python3.6/site-packages/pyasn1-0.4.8-py3.6.egg/pyasn1/type/constraint.py", line 32, in call File "/usr/local/lib/python3.6/site-packages/pyasn1-0.4.8-py3.6.egg/pyasn1/type/constraint.py", line 245, in _testValue pyasn1.type.error.ValueConstraintError: 26446
During handling of the above exception, another exception occurred:
Traceback (most recent call last): File "/usr/local/lib/python3.6/site-packages/pyasn1-0.4.8-py3.6.egg/pyasn1/type/constraint.py", line 32, in call File "/usr/local/lib/python3.6/site-packages/pyasn1-0.4.8-py3.6.egg/pyasn1/type/constraint.py", line 697, in _testValue File "/usr/local/lib/python3.6/site-packages/pyasn1-0.4.8-py3.6.egg/pyasn1/type/constraint.py", line 36, in call pyasn1.type.error.ValueConstraintError: <ValueRangeConstraint object, consts 1, 4096> failed at: ValueConstraintError(26446,)
During handling of the above exception, another exception occurred:
Traceback (most recent call last): File "/usr/local/lib/python3.6/site-packages/pyasn1-0.4.8-py3.6.egg/pyasn1/type/base.py", line 269, in init File "/usr/local/lib/python3.6/site-packages/pyasn1-0.4.8-py3.6.egg/pyasn1/type/constraint.py", line 36, in call pyasn1.type.error.ValueConstraintError: <ConstraintsIntersection object, consts <ValueRangeConstraint object, consts -2147483648, 2147483647>, <ValueRangeConstraint object, consts 1, 4096>> failed at: ValueConstraintError('<ValueRangeConstraint object, consts 1, 4096> failed at: ValueConstraintError(26446,)',)
During handling of the above exception, another exception occurred:
Traceback (most recent call last): File "/usr/local/lib/python3.6/site-packages/pysnmp-4.4.12-py3.6.egg/pysnmp/smi/rfc1902.py", line 505, in resolveWithMib File "pysnmp/smi/mibs/SNMPv2-SMI.py", line 1281, in getInstIdFromIndices File "/usr/local/lib/python3.6/site-packages/pyasn1-0.4.8-py3.6.egg/pyasn1/type/base.py", line 376, in clone File "/usr/local/lib/python3.6/site-packages/pyasn1-0.4.8-py3.6.egg/pyasn1/type/univ.py", line 107, in init File "/usr/local/lib/python3.6/site-packages/pyasn1-0.4.8-py3.6.egg/pyasn1/type/base.py", line 273, in init pyasn1.type.error.ValueConstraintError: <ConstraintsIntersection object, consts <ValueRangeConstraint object, consts -2147483648, 2147483647>, <ValueRangeConstraint object, consts 1, 4096>> failed at: ValueConstraintError('<ValueRangeConstraint object, consts 1, 4096> failed at: ValueConstraintError(26446,)',) at LldpPortNumber
During handling of the above exception, another exception occurred:
Traceback (most recent call last): File "network_mapper.py", line 257, in
return_code = args.func(args)
File "network_mapper.py", line 165, in main_with_args
hlapi.CommunityData(config['DEFAULT']['SnmpCommunityString']))
File "/home/smartidc/python-topo/SnmpNetworkTopologyVisualizator-master/quicksnmp.py", line 19, in get
return fetch(handler)
File "/home/smartidc/python-topo/SnmpNetworkTopologyVisualizator-master/quicksnmp.py", line 112, in fetch
varBinds) in handler:
File "/usr/local/lib/python3.6/site-packages/pysnmp-4.4.12-py3.6.egg/pysnmp/hlapi/asyncore/sync/cmdgen.py", line 111, in getCmd
File "/usr/local/lib/python3.6/site-packages/pysnmp-4.4.12-py3.6.egg/pysnmp/hlapi/asyncore/cmdgen.py", line 130, in getCmd
File "/usr/local/lib/python3.6/site-packages/pysnmp-4.4.12-py3.6.egg/pysnmp/hlapi/varbinds.py", line 39, in makeVarBinds
File "/usr/local/lib/python3.6/site-packages/pysnmp-4.4.12-py3.6.egg/pysnmp/smi/rfc1902.py", line 853, in resolveWithMib
File "/usr/local/lib/python3.6/site-packages/pysnmp-4.4.12-py3.6.egg/pysnmp/smi/rfc1902.py", line 510, in resolveWithMib
pysnmp.smi.error.SmiError: Instance index (26446,) to OID conversion failure at object 'lldpLocPortId': <ConstraintsIntersection object, consts <ValueRangeConstraint object, consts -2147483648, 2147483647>, <ValueRangeConstraint object, consts 1, 4096>> failed at: ValueConstraintError('<ValueRangeConstraint object, consts 1, 4096> failed at: ValueConstraintError(26446,)',) at LldpPortNumbercaused by <class 'pyasn1.type.error.ValueConstraintError'>: <ConstraintsIntersection object, consts <ValueRangeConstraint object, consts -2147483648, 2147483647>, <ValueRangeConstraint object, consts 1, 4096>> failed at: ValueConstraintError('<ValueRangeConstraint object, consts 1, 4096> failed at: ValueConstraintError(26446,)',) at LldpPortNumber`
any ideas what went wrong? thx