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
Had an issue where this was crashing 3/4 way through a scan.
It looks like the Cisco WAAS returns a string for the IP OID rather than a hex value?
Saw a similar issue from 2015 and managed to fix it my adding the following to util.py:
def convert_ip_int_str(iip):
if ((iip != None) & (iip != '') & (iip.startswith("0x"))):
Was getting a similar issue, and adding aslater3's code above resolved the issue -- THANKS!
This was my specific error: ValueError: invalid literal for int() with base 0: "b''"
Had an issue where this was crashing 3/4 way through a scan.
It looks like the Cisco WAAS returns a string for the IP OID rather than a hex value?
Saw a similar issue from 2015 and managed to fix it my adding the following to util.py:
def convert_ip_int_str(iip):
if ((iip != None) & (iip != '') & (iip.startswith("0x"))):
Seems to fix it?
Edit: Awesome project by the way, saves so much time! Combined the catalogue output with a script I wrote that iterates through that CSV and calls the bash script here https://packetpushers.net/bash-script-to-gather-all-your-cisco-serial-numbers-via-snmp/ for a full inventory list and map!
The text was updated successfully, but these errors were encountered: