Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ValueError: invalid literal for int() with base 16 #7

Open
konradb90 opened this issue Oct 3, 2016 · 0 comments
Open

ValueError: invalid literal for int() with base 16 #7

konradb90 opened this issue Oct 3, 2016 · 0 comments

Comments

@konradb90
Copy link

snmpwalk -v2c -c public -ObentU 192.168.1.6 .1 > switch1-local.snmpwalk
and error occured after:
snmposter -f /etc/snmposter/agents.csv

Traceback (most recent call last):
  File "/snmposter/bin/snmposter", line 11, in <module>
    sys.exit(launcher())
  File "/snmposter/local/lib/python2.7/site-packages/snmposter/scripts.py", line 35, in launcher
    factory.start()
  File "/snmposter/local/lib/python2.7/site-packages/snmposter/snmposter.py", line 80, in start
    faker = SNMPoster(a['ip'], a['filename'])
  File "/snmposter/local/lib/python2.7/site-packages/snmposter/snmposter.py", line 109, in __init__
    self.add_oid_value(oid, type_, value)
  File "/snmposter/local/lib/python2.7/site-packages/snmposter/snmposter.py", line 148, in add_oid_value
    [chr(int(c, 16)) for c in ' '.join(value).split(' ')])
ValueError: invalid literal for int() with base 16: '.1.0.8802.1.1.2.1.2.1.0'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant