SNMP Private MIB.

AlexNik
Posts: 3
Joined: Fri Jul 21, 2017 11:35 pm

SNMP Private MIB.

Postby AlexNik » Fri Jul 21, 2017 11:38 pm

Is it possible to use SNMP private MIB ?
Any examples available ?

santanapablo1975
Posts: 34
Joined: Wed Feb 15, 2017 8:31 pm

Re: SNMP Private MIB.

Postby santanapablo1975 » Wed Oct 11, 2017 7:30 pm

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

AlexNik
Posts: 3
Joined: Fri Jul 21, 2017 11:35 pm

Re: SNMP Private MIB.

Postby AlexNik » Wed Nov 01, 2017 7:10 pm

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.

AlexNik
Posts: 3
Joined: Fri Jul 21, 2017 11:35 pm

Re: SNMP Private MIB.

Postby AlexNik » Thu Nov 02, 2017 9:40 am

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.

santanapablo1975
Posts: 34
Joined: Wed Feb 15, 2017 8:31 pm

Re: SNMP Private MIB.

Postby santanapablo1975 » Thu Nov 02, 2017 1:47 pm

Hi Alex,

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

Thanks again!

Juan

User avatar
leandro.adonis86
Posts: 5
Joined: Sun Jul 01, 2018 10:19 pm
Location: Portugal - Leiria

Re: SNMP Private MIB.

Postby leandro.adonis86 » Sun Jul 01, 2018 10:36 pm

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.
Student of Computer Engineering from Polytechnic Institute of Leiria - Portugal

User avatar
leandro.adonis86
Posts: 5
Joined: Sun Jul 01, 2018 10:19 pm
Location: Portugal - Leiria

Re: SNMP Private MIB.

Postby leandro.adonis86 » Mon Jul 23, 2018 1:08 pm

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.
Student of Computer Engineering from Polytechnic Institute of Leiria - Portugal

Who is online

Users browsing this forum: martinayotte and 46 guests