Is it possible to use SNMP private MIB ?
Any examples available ?
SNMP Private MIB.
-
- Posts: 34
- Joined: Wed Feb 15, 2017 8:31 pm
Re: SNMP Private MIB.
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
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.
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.
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.
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.
tested with TCP.
-
- Posts: 34
- Joined: Wed Feb 15, 2017 8:31 pm
Re: SNMP Private MIB.
Hi Alex,
Thanks for your input, I am going to check your link!
Thanks again!
Juan
Thanks for your input, I am going to check your link!
Thanks again!
Juan
- leandro.adonis86
- Posts: 5
- Joined: Sun Jul 01, 2018 10:19 pm
- Location: Portugal - Leiria
Re: SNMP Private MIB.
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.
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
- leandro.adonis86
- Posts: 5
- Joined: Sun Jul 01, 2018 10:19 pm
- Location: Portugal - Leiria
Re: SNMP Private MIB.
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: mensbufo and 47 guests