Reputation: 3590
I am working on SNMPv2 currently and want to switch to SNMPv3. I have my MIB File written for v2, which was converted to python file using: pysmi. But in the documentation, it is written that it only supports v1 and v2.
So, my question is:
Upvotes: 0
Views: 549
Reputation: 5555
To expand a bit on Andrew's answer:
You do not need to change anything MIB-related when switching from SNMPv2c to SNMPv3. The same Pythonized MIBs should work just fine. That's because pysnmp used SMIv2 internally regardless of anything.
There is no need for that.
You should be using the same MIB. The best way to send SNMP notifications would be by following this example. Just replace CommunityData
with UsmUserData
.
Upvotes: 2
Reputation: 6556
You are confusing two different things SNMP protocol versions and MIB format versions. Currently there 3 versions of SNMP:
and there are two versions of MIB files:
Upvotes: 2