Developing PySNMP based agent with Custom MIB


Let’s face it – PySNMP documentation is not very clear and well organized, yet for those of you willing to implement SNMP agent easily and efficiently, without the need to extend complicated C++ libraries (e.g. net-snmp) with dynamically loaded libraries, PySNMP might be a good start.

I followed Neal Charbonneau’s great tutorial and found it very helpful, but I needed an ability to define writable (SNMP SET) objects. The following code is more or less copy of Neal’s code, with ability to set testCount object from SNMP manager:


read more