You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
but it throw the below error, i cant figure out what the issue is
Traceback (most recent call last):
File "C:/py_test_folder/test.py", line 115, in <module>
print(get_bulk_oid(host_name, mac_oid))
File "C:/py_test_folder/test.py", line 39, in get_bulk_oid
cdp_remote_host = next(nextCmd(
File "C:\Users\neteng\.virtualenvs\py_test_folder\lib\site-packages\pysnmp\hlapi\asyncore\sync\cmdgen.py", line 349, in nextCmd
initialVars = [x[0] for x in vbProcessor.makeVarBinds(snmpEngine, varBinds)]
File "C:\Users\neteng\.virtualenvs\py_test_folder\lib\site-packages\pysnmp\hlapi\varbinds.py", line 33, in makeVarBinds
elif isinstance(varBind[0], ObjectIdentity):
TypeError: 'int' object is not subscriptable
appreciate any help.
The text was updated successfully, but these errors were encountered:
Hi,
i have been trying to pull mac address information from Cisco Switch, with the code below:
but it throw the below error, i cant figure out what the issue is
appreciate any help.
The text was updated successfully, but these errors were encountered: