Add Moxa EDS-4012 Series switches

I’m in Taiwan, there’s a 14 hour difference.
Don’t worry about replying quickly.

I’m pretty much done.
Could you apply the patch and let me know how it looks?

If you would like to test this pull request then please run: ./scripts/github-apply <pr_id> , i.e ./scripts/github-apply 18702
After you are done testing, you can remove the changes with ./scripts/github-remove . If there are schema changes, you can ask on discord how to revert.

Things are looking good! There’s a lot more information for these models than there has been in the past.

The biggest thing, and this might be a limitation of snmp on the device itself, is that it isn’t pulling in the port descriptions as they are set on the switch. It puts in the generic “Ethernet Interface Port 01” etc.

Other than that, I think we’re cooking.

The thing about these devices is that a normal snmpwalk does not include most data from the moxa mibs. You have to walk the oids directly.
The reason I needed you to walk specific oid trees.

What it’s pulling in is from the standard if-mib. Can you show me what the port description looks like you would want. I’ll have to find which mib holds that data.

If I’m understanding you correctly…
the port descriptions for ports 5-10 (which are listed as 1-6 in the GUI) are set as “CAMERA”.

Here is what it pulls:

Right, the IF-MIB doesn’t have your port descriptions.
It will be somewhere in a moxa mib.

Try walking these locations.
Maybe it will be present.

.1.3.6.1.4.1.8691.603.1.1

.1.3.6.1.4.1.8691.603.1.1.1.1

.1.3.6.1.4.1.8691.603.1.1.2.1

Doing a walk and specifying .1.3.6.1.4.1.8691.603.1.1.1.1.2 shows me the custom port descriptions that are set on the switch.

Send me that walk please.

1.3.6.1.4.1.8691.603.1.1.1.1
Should work?

Here is the output of walking that OID:

1.3.6.1.4.1.8691.603.1.1.1.1 will indeed work, but if you want to be more granular 1.3.6.1.4.1.8691.603.1.1.1.1.2 will specifically pull the entries related to the port description/alias that I set.

Walk Output

Perfect, thanks.

One more question , are your network traffic graphs working?
port traffic stats or overall device traffic?

Also, re-apply the patch and it should pull in your port descriptions.

Just got the patch reapplied. I can see the port descriptions…thank you!!
The graphs are indeed working and are very helpful.

Thanks, then we are done.
ill submit it for review to be added into the main branch.

Thanks for your help!

Thank you very much! This was a fun experience, and these changes are a huge help!