aquaticus / esphome-snmp

SNMP component for ESPHome
GNU General Public License v3.0
7 stars 10 forks source link

MIB and Private Enterprise Numbers #5

Open JacobErnst98 opened 1 month ago

JacobErnst98 commented 1 month ago

Hello,

Some software does not support adding OIDs directly and requires the upload of a MIB file. Do you have any plans on generating a MIB?

Looks like this implementation is not using a Private Enterprise Number. I believe they are free and can be requested from IANA. Using a Private Enterprise Number would ensure no OID conflicts occur.

aquaticus commented 1 month ago

Hi,

I don’t have any plans to generate a MIB file in the near future.

The probability of an OID conflict is likely close to zero, and since the source code is available, anyone can modify conflicting OIDs if needed.

I honestly expected more bureaucracy and fees when requesting a private number, so I’m surprised they give them away for free! It might be worth considering after all.

EdTheHead70 commented 3 weeks ago

I am by no means an expert on MIBS but here is one for the 8266.

ESPHOME-ESP8266-SNMP-MIB.txt

JacobErnst98 commented 3 weeks ago

@EdTheHead70 thanks for creating that. I will test the MIB implementation on LibreNMS in the coming days.