Page 1 of 1

SNMP Private MIB.

Posted: Fri Jul 21, 2017 11:38 pm
by AlexNik
Is it possible to use SNMP private MIB ?
Any examples available ?

Re: SNMP Private MIB.

Posted: Wed Oct 11, 2017 7:30 pm
by santanapablo1975
Hi Alex,

I just wanted to ask if you have found some information around SNMP and the ESP32, if it is the case I would like to ask you if mind to send or share it?

Regards

Juan

Re: SNMP Private MIB.

Posted: Wed Nov 01, 2017 7:10 pm
by AlexNik
Yes. I've solved my problem with SNMP using instructions on LWIP SNMPv2c Agent from LWIP web site.
http://www.nongnu.org/lwip/2_0_x/group__snmp.html
Here is nothing to do with ESP32, You need to deal with LWIP.

Re: SNMP Private MIB.

Posted: Thu Nov 02, 2017 9:40 am
by AlexNik
Seems like no one tested SNMP on ESP32, so I can clarify that SNMP v2 with custom MIB is working OK on ESP32, using LWIP SNMP implementation.
tested with TCP.

Re: SNMP Private MIB.

Posted: Thu Nov 02, 2017 1:47 pm
by santanapablo1975
Hi Alex,

Thanks for your input, I am going to check your link!

Thanks again!

Juan

Re: SNMP Private MIB.

Posted: Sun Jul 01, 2018 10:36 pm
by leandro.adonis86
Hello,

Just came to say I've tested in ESP32 protocol SNMPv2c with private MIB and works fine. Need some adjustments in the LwIP component library in ESP32 from the one avaliable here http://download.savannah.nongnu.org/releases/lwip/.

I did for:
ESP32_Core_board_V2
Version Framework ESP-IDF 3.0rc
Version LWIP 2.0.3

Guys should standardize variables and function prototypes with the library from the savannah to make SNMP easly to implement.

Re: SNMP Private MIB.

Posted: Mon Jul 23, 2018 1:08 pm
by leandro.adonis86
Approved to public share and publish from my institution. Since noone did it or not able to share it, this is my example source code https://github.com/leandroadonis86/esp3 ... pv2c_agent . May apply also for ESP-8266 library with some few changes.