Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add SNMP Polling for switch interfaces #105

Open
thadrumr opened this issue May 7, 2024 · 4 comments
Open

Add SNMP Polling for switch interfaces #105

thadrumr opened this issue May 7, 2024 · 4 comments

Comments

@thadrumr
Copy link

thadrumr commented May 7, 2024

If you install the net-snmp-server package on the switch you can poll general switch information but the switch port TAP interfaces does not pass bandwidth usage info over from the Switch ASIC. I am using a Accton 4610-54p for reference. Would there be a way of adding a SNMP extend to poll switch port usage info?

@KanjiMonster
Copy link
Contributor

I created a ticket for exposing this information on KNET interfaces.

There is no fixed target yet when this will be implemented, but wanted to keep you up to date that we have it on the radar.

It is very unlikely to be extended for TAP interfaces, as this would require extensive changes to the kernel itself, which are also unlikely to be accepted upstream.

@thadrumr
Copy link
Author

Would there be a way to do an SNMP extend to poll the Switch ASIC directly? Is that what you mean by exposing on KNET interfaces?

@KanjiMonster
Copy link
Contributor

The stats would be exposed via standard Linux interfaces, so there should be no need for SNMP to directly poll the Switch ASIC.

The polling would happen indirectly (stats are taken from the ASIC and pushed into KNET interfaces, SNMP would poll the stats from the KNET interfaces).

@thadrumr
Copy link
Author

That makes sense thanks for the update. I am using LibreNMS in my home lab so I can test this when ever its ready. Thanks for keeping this on the radar.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants