-
Notifications
You must be signed in to change notification settings - Fork 516
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
SNMPv3 on linux(Ubuntu 16.04) with Python3 - script "snmp_helper.py" #12
Comments
@mathewfer Did you download and install 'snmp_helper.py' such that it is somewhere on your Python Path (the easiest place being your current working directory)? Kirk |
Hi Kirk, |
Hi Kirk, I progressed but see below and please let me know if you have any idea. When I run "snmpwalk -v3 -On -u aYYuv3 -l AuthPriv -a SHA -A undxyz1 -X undxyz3 10.1.1.23 1.3.6.1.2.1.1.1.0", router responds well.
|
@mathewfer One issue is the following (there might be others)...you need to specify the auth_proto and encrypt_proto in your call to snmp_get_oid_v3() The below is the function definition.
So with they way you are currently calling snmp_get_oid_v3() it is going to try to use aes128. Kirk |
Hi Kirk,
I tried to run this script "snmp_helper.py" in https://github.com/ktbyers/pynet/tree/master/snmp But I import error. Your script says "Requires the pysnmp4 library" but I see it is already there.
Do you have any idea what is missing?
The text was updated successfully, but these errors were encountered: